dockered
This commit is contained in:
7
django/notice/models.py
Normal file
7
django/notice/models.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.db.models import Model, ForeignKey, CharField, CASCADE
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
class NoticeModel(Model):
|
||||
user = ForeignKey(User, on_delete=CASCADE)
|
||||
data = CharField(max_length=100)
|
Reference in New Issue
Block a user