* add flake8 to pre-commit config, and fixup many things to make flake8 happy * add isort and sort all imports, add to pre-commit and requirements
10 lines
301 B
Python
10 lines
301 B
Python
from django.db import models
|
|
|
|
from utils.models import CampRelatedModel, UUIDModel
|
|
|
|
|
|
class Feedback(CampRelatedModel, UUIDModel):
|
|
camp = models.ForeignKey("camps.Camp", on_delete=models.PROTECT)
|
|
user = models.ForeignKey("auth.User", on_delete=models.PROTECT)
|
|
feedback = models.TextField()
|