Skip to content

Commit

Permalink
debug = False, redirect to info page after login
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelk2 committed Oct 26, 2014
1 parent 75480a7 commit 821a841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crowdbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

TEMPLATE_DEBUG = True

Expand Down
2 changes: 1 addition & 1 deletion website/templates/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="{% static 'img/logo_256.jpg' %}">
<h3 class='center'>Make the crowd crop objects on images you want.</h3>
<p>
<a href="{% url 'socialauth_begin' 'dropbox' %}" class="btn btn-lg btn-dropbox-inversed">
<a href="{% url 'socialauth_begin' 'dropbox' %}?next={% url 'website-info' %}" class="btn btn-lg btn-dropbox-inversed">
<i class="fa fa-dropbox"></i> login via Dropbox
</a>
<a href="{% url 'website-info'%}" class="btn btn-lg btn-default">
Expand Down

0 comments on commit 821a841

Please sign in to comment.