Posts added

This commit is contained in:
Lukas Weber 2021-10-27 12:02:02 +02:00
parent 525254f612
commit ba5e0c86c0
9 changed files with 24 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/db.sqlite3

0
posts/__init__.py Normal file
View File

3
posts/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
posts/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class PostsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'posts'

View File

3
posts/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
posts/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
posts/views.py Normal file
View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

5
requirements.txt Normal file
View 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