Skip to content

Commit

Permalink
Remove namespaced URL relicts and delete unused file
Browse files Browse the repository at this point in the history
  • Loading branch information
acsany committed Dec 2, 2024
1 parent 22cca8d commit fedf431
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ <h2>Sign Up</h2>
<input type="submit" value="Sign Up" />
</form>
<p>
<a href="{% url 'users:dashboard' %}">Back to dashboard</a>
<a href="{% url 'dashboard' %}">Back to dashboard</a>
</p>
{% endblock content %}
2 changes: 1 addition & 1 deletion django-user-management/user_auth_intro/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def sign_up(request):
if form.is_valid():
user = form.save()
login(request, user)
return redirect(reverse("users:dashboard"))
return redirect(reverse("dashboard"))
else:
form = CustomUserCreationForm()
return render(request, "registration/sign_up.html", {"form": form})

0 comments on commit fedf431

Please sign in to comment.