Skip to content

Commit

Permalink
move example index url out of app
Browse files Browse the repository at this point in the history
  • Loading branch information
wooyek committed Nov 24, 2017
1 parent bacb97b commit 285cb8c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions example_project/src/website/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from django.views.generic.base import TemplateView

urlpatterns = [
url(r'^$', TemplateView.as_view(template_name="django_opt_out/base.html")),
url(r'^admin/', admin.site.urls),
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^i18n/language', TemplateView.as_view(template_name='set_language.html'), name='language_form'),
Expand Down
2 changes: 1 addition & 1 deletion example_project/templates/django_opt_out/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
crossorigin="anonymous">
<style>
body {
background-color: #EEEEEE;
background-color: #FFFFFF;
}
</style>
<script src="https://use.fontawesome.com/900b3fb674.js"></script>
Expand Down
1 change: 0 additions & 1 deletion src/django_opt_out/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
app_name = 'django_opt_out'

urlpatterns = [
url(r'^$', TemplateView.as_view(template_name="django_opt_out/base.html")),
url(r'^confirm$', v.OptOutConfirm.as_view(), name='OptOutConfirm'),
url(r'^success/(?P<pk>[\d]+)/(?P<secret>[\w]+)/(?P<email>[^/]+)$', v.OptOutSuccess.as_view(), name='OptOutSuccess'),
url(r'^update$/(?P<pk>[\d]+)/(?P<secret>[\w]+)/(?P<email>[^/]+)$', v.OptOutUpdate.as_view(), name='OptOutUpdate'),
Expand Down

0 comments on commit 285cb8c

Please sign in to comment.