First Commit
This commit is contained in:
commit
ce0758fbbb
496 changed files with 52062 additions and 0 deletions
10
maintenance/models.py
Normal file
10
maintenance/models.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from django.db import models
|
||||
|
||||
class Informations(models.Model):
|
||||
name = models.CharField("Titre de la maintenance", max_length=255, default="Maintenance en cours")
|
||||
content = models.TextField(default="Votre site rétro favoris fait un chek-up ;)")
|
||||
is_active = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self):
|
||||
return "Contenu de la maintenance"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue