Skip to content
Snippets Groups Projects
Commit f8e83ec6 authored by Muhammad Ali's avatar Muhammad Ali :blush:
Browse files

contacts database created

parent cfaff41e
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -30,6 +30,7 @@ INSTALLED_APPS = [
'articles',
'accounts',
'taggit',
'contact',
'django_filters',
......
......@@ -5,11 +5,14 @@ from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf.urls.static import static
from django.conf import settings
from articles import views as article_views
from contact.views import contact
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^articles/', include('articles.urls')),
url(r'^accounts/', include('accounts.urls')),
url(r'contact/$',contact,name="contact"),
url(r'^about/$', views.about),
url(r'^$', article_views.article_list, name="home"),
]
......
......@@ -13,6 +13,7 @@
</div>
<nav >
<ul>
<li><a href="/contact/">Contact Us</a></li>
{% if user.is_authenticated %}
<li>
<form class="logout-link" action="{% url 'accounts:logout' %}" method="post">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment