Skip to content

Commit a5ff954

Browse files
committed
Remove debug instructions #235
Signed-off-by: tdruez <[email protected]>
1 parent e6beab8 commit a5ff954

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

dje/registration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,11 @@ def get_user(self, username):
8686
class DejaCodeRegistrationForm(RegistrationFormUniqueEmail):
8787
"""Used in `registration.backends.hmac.views.RegistrationView`."""
8888

89-
use_required_attribute = False
89+
use_required_attribute = True
9090
captcha = AltchaField(
9191
# strings={"label": "I'm not a robot"},
9292
floating=True,
9393
hidefooter=True,
94-
debug=True,
9594
)
9695

9796
class Meta(RegistrationFormUniqueEmail.Meta):

dje/templates/django_registration/registration_form.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
{% block bodyclass %}signup-form{% endblock %}
99

1010
{% block content %}
11-
{{ form.errors }}
1211
<div class="row">
1312
<div class="col-sm-5 text-white" style="font-size: 1.1rem !important;">
1413
<ul class="nav nav-tabs nav-fill" role="tablist">
@@ -75,13 +74,13 @@ <h4 class="text-warning mb-3 mt-2">Private DejaCode Evaluation Instance</h4>
7574
</div>
7675

7776
<div class="col-sm-5 offset-sm-1">
78-
<h1 class="text-white mt-0 mb-2">Create your DejaCode account</h1>
77+
<h1 class="text-white mt-0 mb-3">Create your DejaCode account</h1>
7978
<div class="card">
8079
<div class="card-body">
8180
{% crispy form %}
8281
</div>
8382
</div>
84-
<div class="text-center fw-normal m-4">
83+
<div class="text-center fw-normal my-3">
8584
<a href="{% url 'login' %}" class="text-white">Already have an account?</a>
8685
</div>
8786
</div>

0 commit comments

Comments
 (0)