Commit 406218d3 authored by Ian Rafael T. Aragoza's avatar Ian Rafael T. Aragoza

Updated urls.py and views.py of all three apps.

parent cdeb5524
Pipeline #2929 failed with stages
from django.shortcuts import render
from django.urls import path
from .views import index
# Create your views here.
urlpatterns = [
path('', index, name='index'),
]
app_name = "announcementboard"
\ No newline at end of file
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
# Create your views here. # Create your views here.
def index(request):
return HttpResponse('Announcement Board app.')
from django.shortcuts import render
from django.urls import path
from .views import index
# Create your views here.
urlpatterns = [
path('', index, name='index'),
]
app_name = "forum"
\ No newline at end of file
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
# Create your views here. # Create your views here.
def index(request):
return HttpResponse('Forum app.')
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