Browse Source

Posts added

master
Lukas Weber 3 years ago
parent
commit
ba5e0c86c0
9 changed files with 24 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 0
    0
      posts/__init__.py
  3. 3
    0
      posts/admin.py
  4. 6
    0
      posts/apps.py
  5. 0
    0
      posts/migrations/__init__.py
  6. 3
    0
      posts/models.py
  7. 3
    0
      posts/tests.py
  8. 3
    0
      posts/views.py
  9. 5
    0
      requirements.txt

+ 1
- 0
.gitignore View File

/db.sqlite3

+ 0
- 0
posts/__init__.py View File


+ 3
- 0
posts/admin.py View File

from django.contrib import admin

# Register your models here.

+ 6
- 0
posts/apps.py View File

from django.apps import AppConfig


class PostsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'posts'

+ 0
- 0
posts/migrations/__init__.py View File


+ 3
- 0
posts/models.py View File

from django.db import models

# Create your models here.

+ 3
- 0
posts/tests.py View File

from django.test import TestCase

# Create your tests here.

+ 3
- 0
posts/views.py View File

from django.shortcuts import render

# Create your views here.

+ 5
- 0
requirements.txt View File

asgiref==3.4.1
Django==3.2.8
pytz==2021.3
sqlparse==0.4.2
typing-extensions==3.10.0.2

Loading…
Cancel
Save