From 5dcb369ae7ae46fd616fe2810cfb70af454d8fed Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 6 Sep 2024 23:42:03 +0800 Subject: [PATCH] Clean up .gitignore and some references to template used for the project --- .gitignore | 6 +----- backend/config/asgi.py | 2 +- backend/config/urls.py | 16 ---------------- backend/config/wsgi.py | 2 +- 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 82f007f..256105b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,6 @@ __pycache__/ # C extensions *.so -# Static Media Stuff -equipment_tracker/media/* -equipment_tracker/static/* - # Distribution / packaging .Python build/ @@ -64,7 +60,7 @@ cover/ db.sqlite3 db.sqlite3-journal .env -media/* +media/ static/ dumps/ firefox/ diff --git a/backend/config/asgi.py b/backend/config/asgi.py index 80d4e77..874e199 100644 --- a/backend/config/asgi.py +++ b/backend/config/asgi.py @@ -1,5 +1,5 @@ """ -ASGI config for equipment_tracker project. +ASGI config for DRF-Template project. It exposes the ASGI callable as a module-level variable named ``application``. diff --git a/backend/config/urls.py b/backend/config/urls.py index 361ebbb..46857a8 100644 --- a/backend/config/urls.py +++ b/backend/config/urls.py @@ -1,19 +1,3 @@ -""" -URL configuration for equipment_tracker project. - -The `urlpatterns` list routes URLs to views. For more information please see: - https://docs.djangoproject.com/en/4.2/topics/http/urls/ -Examples: -Function views - 1. Add an import: from my_app import views - 2. Add a URL to urlpatterns: path('', views.home, name='home') -Class-based views - 1. Add an import: from other_app.views import Home - 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') -Including another URLconf - 1. Import the include() function: from django.urls import include, path - 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) -""" from django.contrib import admin from django.urls import path, include from drf_spectacular.views import SpectacularAPIView, SpectacularRedocView, SpectacularSwaggerView diff --git a/backend/config/wsgi.py b/backend/config/wsgi.py index 9c0f843..8f9c92f 100644 --- a/backend/config/wsgi.py +++ b/backend/config/wsgi.py @@ -1,5 +1,5 @@ """ -WSGI config for equipment_tracker project. +WSGI config for DRF-Template project. It exposes the WSGI callable as a module-level variable named ``application``.