diff options
| author | Bobby <[email protected]> | 2022-09-09 02:11:03 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-09-09 02:11:03 -0400 |
| commit | beeddba7738d63844fc9dd2beaf4994daa6f6fb9 (patch) | |
| tree | bf6cb1213810416ae0705f3eb086cc652c1aa8e4 /blog_admin | |
| parent | a936749708df2b0d6ea200f31992bb61df8442ef (diff) | |
| download | thatcomputerscientist-beeddba7738d63844fc9dd2beaf4994daa6f6fb9.tar.xz thatcomputerscientist-beeddba7738d63844fc9dd2beaf4994daa6f6fb9.zip | |
Added Blog Admin Module
Diffstat (limited to 'blog_admin')
| -rw-r--r-- | blog_admin/__init__.py | 0 | ||||
| -rw-r--r-- | blog_admin/admin.py | 3 | ||||
| -rw-r--r-- | blog_admin/apps.py | 6 | ||||
| -rw-r--r-- | blog_admin/migrations/__init__.py | 0 | ||||
| -rw-r--r-- | blog_admin/models.py | 3 | ||||
| -rw-r--r-- | blog_admin/tests.py | 3 | ||||
| -rw-r--r-- | blog_admin/urls.py | 12 | ||||
| -rw-r--r-- | blog_admin/views.py | 20 |
8 files changed, 47 insertions, 0 deletions
diff --git a/blog_admin/__init__.py b/blog_admin/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/blog_admin/__init__.py diff --git a/blog_admin/admin.py b/blog_admin/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/blog_admin/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/blog_admin/apps.py b/blog_admin/apps.py new file mode 100644 index 00000000..805ca8f8 --- /dev/null +++ b/blog_admin/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class BlogAdminConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'blog_admin' diff --git a/blog_admin/migrations/__init__.py b/blog_admin/migrations/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/blog_admin/migrations/__init__.py diff --git a/blog_admin/models.py b/blog_admin/models.py new file mode 100644 index 00000000..71a83623 --- /dev/null +++ b/blog_admin/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/blog_admin/tests.py b/blog_admin/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/blog_admin/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/blog_admin/urls.py b/blog_admin/urls.py new file mode 100644 index 00000000..63459ba9 --- /dev/null +++ b/blog_admin/urls.py @@ -0,0 +1,12 @@ +from django.urls import path +from . import views + +app_name = 'blog-admin' +urlpatterns = [ + path('users', views.users, name='users'), + path('posts', views.posts, name='posts'), + path('comments', views.comments, name='comments'), + path('categories', views.categories, name='categories'), + path('tags', views.tags, name='tags'), + path('new', views.new, name='new'), +]
\ No newline at end of file diff --git a/blog_admin/views.py b/blog_admin/views.py new file mode 100644 index 00000000..6196c7ab --- /dev/null +++ b/blog_admin/views.py @@ -0,0 +1,20 @@ +from django.shortcuts import render + +# Create your views here. +def users(request): + pass + +def posts(request): + pass + +def comments(request): + pass + +def categories(request): + pass + +def tags(request): + pass + +def new(request): + pass
\ No newline at end of file |
