mirror of
https://github.com/Rushilwiz/ask-a-philosopher.git
synced 2025-04-17 18:50:17 -04:00
10 lines
261 B
Python
10 lines
261 B
Python
from django.db import models
|
|
|
|
# Create your models here.
|
|
class Question(models.Model):
|
|
name = models.TextField(blank=True, null=True)
|
|
question = models.TextField(blank=False, null=False)
|
|
|
|
def __str__(self):
|
|
return self.name + '\'s Question'
|