componentsDjangoType 2.0.2__tar.gz → 2.0.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {componentsdjangotype-2.0.2/componentsDjangoType.egg-info → componentsdjangotype-2.0.3}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType/management/commands/createApp.py +6 -11
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3/componentsDjangoType.egg-info}/PKG-INFO +1 -1
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/setup.py +1 -1
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/LICENSE +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/MANIFEST.in +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/README.md +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType/__init__.py +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType/management/__init__.py +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType/management/commands/__init__.py +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType/management/commands/createcomponent.py +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/SOURCES.txt +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/dependency_links.txt +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/requires.txt +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/top_level.txt +0 -0
- {componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/setup.cfg +0 -0
@@ -109,7 +109,7 @@ class Command(BaseCommand):
|
|
109
109
|
" @staticmethod\n"
|
110
110
|
" def get_signup(request):\n"
|
111
111
|
" if request.method == 'GET':\n"
|
112
|
-
" return render(request, '
|
112
|
+
" return render(request, 'signup.html', {\n"
|
113
113
|
" 'form': UserCreationForm()\n"
|
114
114
|
" })\n"
|
115
115
|
" elif request.method == 'POST':\n"
|
@@ -122,11 +122,11 @@ class Command(BaseCommand):
|
|
122
122
|
" login(request, user)\n"
|
123
123
|
" return redirect('logged')\n"
|
124
124
|
" except IntegrityError:\n"
|
125
|
-
" return render(request, '
|
125
|
+
" return render(request, 'signup.html', {\n"
|
126
126
|
" 'form': UserCreationForm(),\n"
|
127
127
|
" 'error': 'User already exists'\n"
|
128
128
|
" })\n"
|
129
|
-
" return render(request, '
|
129
|
+
" return render(request, 'signup.html', {\n"
|
130
130
|
" 'form': UserCreationForm(),\n"
|
131
131
|
" 'error': 'Passwords do not match'\n"
|
132
132
|
" })\n\n"
|
@@ -312,9 +312,7 @@ urlpatterns = [
|
|
312
312
|
</div>
|
313
313
|
</div>
|
314
314
|
{% endblock %}
|
315
|
-
|
316
|
-
<script src="{% static 'js/alertErrors.js'%}"></script>
|
317
|
-
{% endblock %}""",
|
315
|
+
""",
|
318
316
|
'login.html': """{% extends "layouts/index.html" %}
|
319
317
|
{% block layout %}
|
320
318
|
{% if error %}
|
@@ -347,9 +345,7 @@ urlpatterns = [
|
|
347
345
|
</div>
|
348
346
|
</div>
|
349
347
|
{% endblock %}
|
350
|
-
|
351
|
-
<script src="{% static 'js/alertErrors.js'%}"></script>
|
352
|
-
{% endblock %}""",
|
348
|
+
""",
|
353
349
|
'logged.html': """{% extends "layouts/index.html" %}
|
354
350
|
{% block layout %}
|
355
351
|
<div class="layout-container">
|
@@ -625,8 +621,7 @@ button[type="submit"]:hover {
|
|
625
621
|
{% endblock %}
|
626
622
|
</div>
|
627
623
|
|
628
|
-
{%
|
629
|
-
{% endblock %}
|
624
|
+
<script src="{% static 'js/alertErrors.js'%}"></script>
|
630
625
|
</body>
|
631
626
|
</html>
|
632
627
|
""")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{componentsdjangotype-2.0.2 → componentsdjangotype-2.0.3}/componentsDjangoType.egg-info/requires.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|