Commit 9739a49f authored by Ciella's avatar Ciella

feat: added required information in the contact app

parent 944ec701
......@@ -42,6 +42,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'about',
'contact',
]
MIDDLEWARE = [
......
......@@ -18,5 +18,6 @@ from django.urls import include, path
urlpatterns = [
path('about/', include('about.urls', namespace='about')),
path('contact/', include('contact.urls', namespace='contact')),
path('admin/', admin.site.urls),
]
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = 'contact'
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse('Here\'s my contact information!\nemail: ciella_maganda@gmall.com\nphone number: 09123456789')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment