From 2b87fc6cbd5ea35c8a0961a1e8f8d158034aa3d1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 4 Dec 2020 18:08:27 +0100 Subject: [PATCH] rename ubookmark to ipv6ula Signed-off-by: Nico Schottelius --- README.md | 2 +- {ubookmark => ipv6ula}/.gitignore | 0 {ubookmark => ipv6ula}/__init__.py | 0 {ubookmark => ipv6ula}/admin.py | 0 {ubookmark => ipv6ula}/apps.py | 2 +- {ubookmark => ipv6ula}/asgi.py | 4 ++-- {ubookmark => ipv6ula}/forms.py | 0 {ubookmark => ipv6ula}/migrations/0001_initial.py | 0 .../migrations/0002_bookmarkmodel.py | 2 +- .../migrations/0003_bookmarkmodel_posted_at.py | 2 +- {ubookmark => ipv6ula}/migrations/__init__.py | 0 {ubookmark => ipv6ula}/models.py | 0 {ubookmark => ipv6ula}/settings.py | 15 ++++++++------- .../templates/ubookmark/base.html | 4 ++-- .../templates/ubookmark/bookmarkmodel_form.html | 2 +- .../templates/ubookmark/bookmarkmodel_list.html | 2 +- .../templates/ubookmark/login.html | 2 +- {ubookmark => ipv6ula}/urls.py | 4 ++-- {ubookmark => ipv6ula}/views.py | 4 ++-- {ubookmark => ipv6ula}/wsgi.py | 4 ++-- manage.py | 2 +- 21 files changed, 26 insertions(+), 25 deletions(-) rename {ubookmark => ipv6ula}/.gitignore (100%) rename {ubookmark => ipv6ula}/__init__.py (100%) rename {ubookmark => ipv6ula}/admin.py (100%) rename {ubookmark => ipv6ula}/apps.py (75%) rename {ubookmark => ipv6ula}/asgi.py (73%) rename {ubookmark => ipv6ula}/forms.py (100%) rename {ubookmark => ipv6ula}/migrations/0001_initial.py (100%) rename {ubookmark => ipv6ula}/migrations/0002_bookmarkmodel.py (94%) rename {ubookmark => ipv6ula}/migrations/0003_bookmarkmodel_posted_at.py (90%) rename {ubookmark => ipv6ula}/migrations/__init__.py (100%) rename {ubookmark => ipv6ula}/models.py (100%) rename {ubookmark => ipv6ula}/settings.py (92%) rename {ubookmark => ipv6ula}/templates/ubookmark/base.html (95%) rename {ubookmark => ipv6ula}/templates/ubookmark/bookmarkmodel_form.html (85%) rename {ubookmark => ipv6ula}/templates/ubookmark/bookmarkmodel_list.html (94%) rename {ubookmark => ipv6ula}/templates/ubookmark/login.html (85%) rename {ubookmark => ipv6ula}/urls.py (94%) rename {ubookmark => ipv6ula}/views.py (95%) rename {ubookmark => ipv6ula}/wsgi.py (73%) diff --git a/README.md b/README.md index fdb0a82..df6202b 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -Checkout the [ubookmark homepage](https://ungleich.ch/u/projects/ubookmark/). +Checkout the [ipv6ula homepage](https://ungleich.ch/u/projects/ipv6ula/). diff --git a/ubookmark/.gitignore b/ipv6ula/.gitignore similarity index 100% rename from ubookmark/.gitignore rename to ipv6ula/.gitignore diff --git a/ubookmark/__init__.py b/ipv6ula/__init__.py similarity index 100% rename from ubookmark/__init__.py rename to ipv6ula/__init__.py diff --git a/ubookmark/admin.py b/ipv6ula/admin.py similarity index 100% rename from ubookmark/admin.py rename to ipv6ula/admin.py diff --git a/ubookmark/apps.py b/ipv6ula/apps.py similarity index 75% rename from ubookmark/apps.py rename to ipv6ula/apps.py index 9447b80..2bd7847 100644 --- a/ubookmark/apps.py +++ b/ipv6ula/apps.py @@ -2,4 +2,4 @@ from django.apps import AppConfig class UbookmarkConfig(AppConfig): - name = 'ubookmark' + name = 'ipv6ula' diff --git a/ubookmark/asgi.py b/ipv6ula/asgi.py similarity index 73% rename from ubookmark/asgi.py rename to ipv6ula/asgi.py index 42a337d..e82921e 100644 --- a/ubookmark/asgi.py +++ b/ipv6ula/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for ubookmark project. +ASGI config for ipv6ula project. It exposes the ASGI callable as a module-level variable named ``application``. @@ -11,6 +11,6 @@ import os from django.core.asgi import get_asgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ubookmark.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ipv6ula.settings') application = get_asgi_application() diff --git a/ubookmark/forms.py b/ipv6ula/forms.py similarity index 100% rename from ubookmark/forms.py rename to ipv6ula/forms.py diff --git a/ubookmark/migrations/0001_initial.py b/ipv6ula/migrations/0001_initial.py similarity index 100% rename from ubookmark/migrations/0001_initial.py rename to ipv6ula/migrations/0001_initial.py diff --git a/ubookmark/migrations/0002_bookmarkmodel.py b/ipv6ula/migrations/0002_bookmarkmodel.py similarity index 94% rename from ubookmark/migrations/0002_bookmarkmodel.py rename to ipv6ula/migrations/0002_bookmarkmodel.py index d082f00..1902cd4 100644 --- a/ubookmark/migrations/0002_bookmarkmodel.py +++ b/ipv6ula/migrations/0002_bookmarkmodel.py @@ -8,7 +8,7 @@ import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ - ('ubookmark', '0001_initial'), + ('ipv6ula', '0001_initial'), ] operations = [ diff --git a/ubookmark/migrations/0003_bookmarkmodel_posted_at.py b/ipv6ula/migrations/0003_bookmarkmodel_posted_at.py similarity index 90% rename from ubookmark/migrations/0003_bookmarkmodel_posted_at.py rename to ipv6ula/migrations/0003_bookmarkmodel_posted_at.py index 7404b67..daa6c4b 100644 --- a/ubookmark/migrations/0003_bookmarkmodel_posted_at.py +++ b/ipv6ula/migrations/0003_bookmarkmodel_posted_at.py @@ -7,7 +7,7 @@ import django.utils.timezone class Migration(migrations.Migration): dependencies = [ - ('ubookmark', '0002_bookmarkmodel'), + ('ipv6ula', '0002_bookmarkmodel'), ] operations = [ diff --git a/ubookmark/migrations/__init__.py b/ipv6ula/migrations/__init__.py similarity index 100% rename from ubookmark/migrations/__init__.py rename to ipv6ula/migrations/__init__.py diff --git a/ubookmark/models.py b/ipv6ula/models.py similarity index 100% rename from ubookmark/models.py rename to ipv6ula/models.py diff --git a/ubookmark/settings.py b/ipv6ula/settings.py similarity index 92% rename from ubookmark/settings.py rename to ipv6ula/settings.py index 3866cfc..8a418e3 100644 --- a/ubookmark/settings.py +++ b/ipv6ula/settings.py @@ -1,5 +1,5 @@ """ -Django settings for ubookmark project. +Django settings for ipv6ula project. Generated by 'django-admin startproject' using Django 3.0.5. @@ -38,7 +38,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'crispy_forms', - 'ubookmark' + 'ipv6ula' ] MIDDLEWARE = [ @@ -51,7 +51,7 @@ MIDDLEWARE = [ 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] -ROOT_URLCONF = 'ubookmark.urls' +ROOT_URLCONF = 'ipv6ula.urls' TEMPLATES = [ { @@ -69,12 +69,12 @@ TEMPLATES = [ }, ] -WSGI_APPLICATION = 'ubookmark.wsgi.application' +WSGI_APPLICATION = 'ipv6ula.wsgi.application' # Defaults vs your settings try: - from ubookmark.local_settings import * + from ipv6ula.local_settings import * except (ModuleNotFoundError, ImportError): LOGGING = {} @@ -90,7 +90,7 @@ except (ModuleNotFoundError, ImportError): } ################################################################################ - # LDAP: you probably want to set those, if you are using ubookmark + # LDAP: you probably want to set those, if you are using ipv6ula AUTH_LDAP_SERVER_URI = "" @@ -104,6 +104,7 @@ except (ModuleNotFoundError, ImportError): AUTH_LDAP_USER_SEARCH = "" SITE_NAME = "an unconfigured site" + SITE_DESCRIPTION = "no description" # Password validation @@ -151,7 +152,7 @@ AUTHENTICATION_BACKENDS = [ "django.contrib.auth.backends.ModelBackend" ] -AUTH_USER_MODEL = 'ubookmark.User' +AUTH_USER_MODEL = 'ipv6ula.User' CRISPY_TEMPLATE_PACK = 'bootstrap4' diff --git a/ubookmark/templates/ubookmark/base.html b/ipv6ula/templates/ubookmark/base.html similarity index 95% rename from ubookmark/templates/ubookmark/base.html rename to ipv6ula/templates/ubookmark/base.html index 5abe674..9762a98 100644 --- a/ubookmark/templates/ubookmark/base.html +++ b/ipv6ula/templates/ubookmark/base.html @@ -10,7 +10,7 @@ - {{ site_name }} powered by ubookmark + {{ site_name }} powered by ipv6ula