Posts added
This commit is contained in:
parent
525254f612
commit
ba5e0c86c0
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/db.sqlite3
|
0
posts/__init__.py
Normal file
0
posts/__init__.py
Normal file
3
posts/admin.py
Normal file
3
posts/admin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
6
posts/apps.py
Normal file
6
posts/apps.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class PostsConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'posts'
|
0
posts/migrations/__init__.py
Normal file
0
posts/migrations/__init__.py
Normal file
3
posts/models.py
Normal file
3
posts/models.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
3
posts/tests.py
Normal file
3
posts/tests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
3
posts/views.py
Normal file
3
posts/views.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
asgiref==3.4.1
|
||||||
|
Django==3.2.8
|
||||||
|
pytz==2021.3
|
||||||
|
sqlparse==0.4.2
|
||||||
|
typing-extensions==3.10.0.2
|
Loading…
x
Reference in New Issue
Block a user