This commit is contained in:
Anna Sudnitsina 2017-10-31 17:01:48 +03:00
parent b5a7f709bd
commit 479107efa3
3 changed files with 2 additions and 9 deletions

View File

@ -27,12 +27,6 @@
<li> <a href="/blog/1"> all notes</a></li>
</ul>
</li>
<li class="long"><a href="#2">Images</a>
<ul class="sub-menu right">
<li class="long"> <a href="{% url 'image_new' %}"> new image</a></li>
<li class="long"> <a href="{% url 'all_posts' %}"><span>all images</span></a></li>
</ul>
</li>
<li class="shirt"><a href="/admin">/admin</a></li>
</ul>
</div>

View File

@ -40,6 +40,8 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'blog',
'taggit',
'pagination',
]
MIDDLEWARE_CLASSES = [

View File

@ -22,7 +22,4 @@ urlpatterns = patterns('',
url(r'^admin/', admin.site.urls),
url(r'^$', TemplateView.as_view(template_name='main.html')),
url(r'^blog/', include('blog.urls')),
url(r'^polls/', include('polls.urls', namespace="polls")),
url(r'^imagehost/', include('imagehost.urls')),
url(r'^pfm/', include('pfm.urls')),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)