Moved about page to 'paste' to fix 3rd party integration.

This commit is contained in:
Martin Mahner 2013-11-29 18:46:11 +01:00
parent 8bf6058892
commit fb5bef707f
3 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@
<div class="container-fluid">
<header>
<ul class="nav nav-pills pull-right">
<li class="{% block dpaste_nav_about %}{% endblock %}"><a href="{% url "about" %}">{% trans "About" %}</a></li>
<li class="{% block dpaste_nav_about %}{% endblock %}"><a href="{% url "dpaste_about" %}">{% trans "About" %}</a></li>
<li class="{% block dpaste_nav_history %}{% endblock %}"><a href="{% url "snippet_history" %}">{% trans "History" %}</a></li>
<li class="{% block dpaste_nav_new %}{% endblock %}"><a href="{% url "snippet_new" %}">{% trans "New snippet" %} &rarr;</a></li>
</ul>

View file

@ -2,7 +2,6 @@ from django.conf.urls import url, patterns, include
urlpatterns = patterns(
'',
url(r'^about/$', 'dpaste.views.about', name='about'),
url(r'^', include('dpaste.urls.dpaste_api')),
url(r'^', include('dpaste.urls.dpaste')),
)

View file

@ -1,6 +1,8 @@
from django.conf.urls import url, patterns
urlpatterns = patterns('dpaste.views',
url(r'^about/$', 'about', name='dpaste_about'),
url(r'^$', 'snippet_new', name='snippet_new'),
url(r'^diff/$', 'snippet_diff', name='snippet_diff'),
url(r'^history/$', 'snippet_history', name='snippet_history'),