mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Moved about page to 'paste' to fix 3rd party integration.
This commit is contained in:
parent
8bf6058892
commit
fb5bef707f
3 changed files with 3 additions and 2 deletions
|
@ -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" %} →</a></li>
|
||||
</ul>
|
||||
|
|
|
@ -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')),
|
||||
)
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue