First initial commit for test Django website

This commit is contained in:
Alexander Schulz
2024-08-30 16:35:36 +02:00
commit 014b3995ae
169 changed files with 32693 additions and 0 deletions

8
post/forms.py Normal file
View File

@ -0,0 +1,8 @@
from django import forms
from . import models
class CreatePost(forms.ModelForm):
class Meta:
model = models.Post
fields = ['title' , 'body' , 'slug' , 'banner']