Commit 6dd091fa authored by Almira Redoble's avatar Almira Redoble

Added urls.py and created view for contact app

parent 2d070633
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "contact"
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("You can find me at twitter.com/McDo_PH.")
# Create your views here. # Create your views here.
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