Make it possible to get to the "register" page from our signup form.

(imported from commit f168a1907667c5ea9c9af94fa6c68fafe3146953)
This commit is contained in:
Waseem Daher 2013-05-19 16:50:22 -04:00 committed by Leo Franchi
parent 1117278983
commit 1e76383f03
2 changed files with 8 additions and 2 deletions

View File

@ -65,8 +65,8 @@ urlpatterns = patterns('',
url(r'^signup/$', TemplateView.as_view(template_name='zephyr/signup.html'),
name='signup'),
url(r'^signup/sign-me-up$', 'zephyr.views.beta_signup_submission', name='beta-signup-submission'),
url(r'^register/$', 'zephyr.views.accounts_home'),
url(r'^login/$', 'zephyr.views.login_page', {'template_name': 'zephyr/login.html'}),
url(r'^register/$', 'zephyr.views.accounts_home', name='register'),
url(r'^login/$', 'zephyr.views.login_page', {'template_name': 'zephyr/login.html'}),
# API and integrations documentation
url(r'^api$', TemplateView.as_view(template_name='zephyr/api.html')),

View File

@ -64,4 +64,10 @@
</div>
</div>
</div>
<div class="row-fluid shaded-background landing-page-bottom">
<div class="span6 offset3 muted">
Does your company already use Humbug? <a href="{% url 'register' %}">Register your account here</a>.
</div>
</div>
{% endblock %}