Skip to content

Commit 821a841

Browse files
committed
debug = False, redirect to info page after login
1 parent 75480a7 commit 821a841

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crowdbox/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
3838

3939
# SECURITY WARNING: don't run with debug turned on in production!
40-
DEBUG = True
40+
DEBUG = False
4141

4242
TEMPLATE_DEBUG = True
4343

website/templates/welcome.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img src="{% static 'img/logo_256.jpg' %}">
77
<h3 class='center'>Make the crowd crop objects on images you want.</h3>
88
<p>
9-
<a href="{% url 'socialauth_begin' 'dropbox' %}" class="btn btn-lg btn-dropbox-inversed">
9+
<a href="{% url 'socialauth_begin' 'dropbox' %}?next={% url 'website-info' %}" class="btn btn-lg btn-dropbox-inversed">
1010
<i class="fa fa-dropbox"></i> login via Dropbox
1111
</a>
1212
<a href="{% url 'website-info'%}" class="btn btn-lg btn-default">

0 commit comments

Comments
 (0)