diff --git a/photo21/settings.py b/photo21/settings.py index 3cdb9d1..98510c0 100644 --- a/photo21/settings.py +++ b/photo21/settings.py @@ -43,6 +43,7 @@ INSTALLED_APPS = [ 'django.contrib.staticfiles', 'photologue_custom', 'photologue', + 'signup', 'sortedm2m', 'taggit', ] diff --git a/photo21/urls.py b/photo21/urls.py index aacd159..efae970 100644 --- a/photo21/urls.py +++ b/photo21/urls.py @@ -30,6 +30,7 @@ urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), path('admin/', admin.site.urls), path('admin/doc/', include('django.contrib.admindocs.urls')), + path('accounts/signup/', include('signup.urls')) ] if settings.DEBUG: diff --git a/signup/apps.py b/signup/apps.py new file mode 100644 index 0000000..806582a --- /dev/null +++ b/signup/apps.py @@ -0,0 +1,4 @@ +from django.apps import AppConfig + +class Signup(AppConfig): + name = 'signup' \ No newline at end of file diff --git a/signup/settings.py b/signup/settings.py new file mode 100644 index 0000000..91a0e2c --- /dev/null +++ b/signup/settings.py @@ -0,0 +1,8 @@ +import os +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +TEMPLATES = [ + { + 'DIRS': [os.path.join(BASE_DIR, 'photo21/signup/templates')], + 'APP_DIRS': True, + }, +] \ No newline at end of file diff --git a/signup/templates/signup.html b/signup/templates/signup.html new file mode 100644 index 0000000..82b06fc --- /dev/null +++ b/signup/templates/signup.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block content %} +