componentsDjangoType 2.0.36__tar.gz → 2.0.39__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {componentsdjangotype-2.0.36/componentsDjangoType.egg-info → componentsdjangotype-2.0.39}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39/componentsDjangoType.egg-info}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType.egg-info/SOURCES.txt +1 -1
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authentication/auth.py +2 -2
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authenticator_configurator.py +2 -3
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/copy_source.py +1 -1
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/setup.py +1 -1
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/LICENSE +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/MANIFEST.in +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/README.md +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/__init__.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/__init__.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/commands/__init__.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/commands/__pycache__/createApp.cpython-312.pyc +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/commands/createApp.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/management/commands/createcomponent.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType.egg-info/requires.txt +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType.egg-info/top_level.txt +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/__init__.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authentication/__init__.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authentication/forms.py +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/css/authentication.css +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/js/alertErrors.js +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/home.html +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/layouts/index.html +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/logged.html +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/login.html +0 -0
- /componentsdjangotype-2.0.36/services/utils/views/singup.html → /componentsdjangotype-2.0.39/services/utils/views/signup.html +0 -0
- {componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/setup.cfg +0 -0
@@ -19,12 +19,12 @@ class Authentication:
|
|
19
19
|
login(request, user)
|
20
20
|
return redirect('logged')
|
21
21
|
except IntegrityError:
|
22
|
-
return render(request, '
|
22
|
+
return render(request, 'signup.html', {
|
23
23
|
'form': form,
|
24
24
|
'error': 'Unable to register. Please try again later.'
|
25
25
|
})
|
26
26
|
else:
|
27
|
-
return render(request, '
|
27
|
+
return render(request, 'signup.html', {
|
28
28
|
'form': form,
|
29
29
|
'error': 'Please correct the errors below.'
|
30
30
|
})
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authenticator_configurator.py
RENAMED
@@ -1,8 +1,7 @@
|
|
1
1
|
import os
|
2
|
-
import ast
|
3
|
-
from services.copy_source import copy_static_file
|
4
2
|
from django.core.management import call_command
|
5
3
|
from services.authentication import auth
|
4
|
+
from services.copy_source import copy_static_file
|
6
5
|
|
7
6
|
class DjangoProjectManager:
|
8
7
|
def __init__(self, app_name, project_name):
|
@@ -242,7 +241,7 @@ urlpatterns = [
|
|
242
241
|
("services.utils.css", "authentication.css", os.path.join(css_dir, "authentication.css")),
|
243
242
|
("services.utils.views.layouts", "index.html", os.path.join(layouts_dir, "index.html")),
|
244
243
|
("services.utils.views", "home.html", os.path.join(templates_dir, "home.html")),
|
245
|
-
("services.utils.views", "
|
244
|
+
("services.utils.views", "signup.html", os.path.join(templates_dir, "signup.html")),
|
246
245
|
("services.utils.views", "login.html", os.path.join(templates_dir, "login.html")),
|
247
246
|
("services.utils.views", "logged.html", os.path.join(templates_dir, "logged.html")),
|
248
247
|
]
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/componentsDjangoType/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authentication/__init__.py
RENAMED
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/authentication/forms.py
RENAMED
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/css/authentication.css
RENAMED
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/js/alertErrors.js
RENAMED
File without changes
|
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/layouts/index.html
RENAMED
File without changes
|
{componentsdjangotype-2.0.36 → componentsdjangotype-2.0.39}/services/utils/views/logged.html
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|