Unverified Commit 7e77e95b authored by Daniella Joan Francisco's avatar Daniella Joan Francisco Committed by GitHub

Merge pull request #12 from avraiel/event_management

Deleted eventcatalog application
parents 9d47c6af c6d6a4ca
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class EventcatalogConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'eventcatalog'
from django.db import models
# Create your models here.
{% extends "base.html" %}
{% block content %}
{% endblock %}
\ No newline at end of file
from django.test import TestCase
# Create your tests here.
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name="index"),
]
app_name='event_catalog'
\ No newline at end of file
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return render(request, "eventcatalog/index.html")
\ No newline at end of file
...@@ -42,7 +42,6 @@ INSTALLED_APPS = [ ...@@ -42,7 +42,6 @@ INSTALLED_APPS = [
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'home', 'home',
'accounts', 'accounts',
'eventcatalog',
'event_management', 'event_management',
'bootstrap5', 'bootstrap5',
] ]
......
...@@ -24,8 +24,7 @@ urlpatterns = [ ...@@ -24,8 +24,7 @@ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path("accounts/", include("accounts.urls", namespace="accounts")), path("accounts/", include("accounts.urls", namespace="accounts")),
path("events/", include("event_management.urls", namespace='event_management')), path("events/", include("event_management.urls", namespace='event_management')),
path("eventcatalog/", include("eventcatalog.urls", namespace="event_catalog")), path("home/", include("home.urls")),
path("", include("home.urls")),
] ]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
\ 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