Django
The web framework for perfectionists with deadlines.
Overview
Download
Documentation
News
Community
Code
Issues
About
♥ Donate
Issues
GitHub Login
DjangoProject Login
Preferences
API
View Tickets
Reports
Timeline
Wiki
Search
Context Navigation
Back to Ticket #29194
Ticket #29194
: models.py
File models.py,
168 bytes
(added by
Alberto Misail
,
4 years ago
)
Models file
Line
1
from
django.db
import
models
2
3
# Create your models here.
4
class
Question
(
models
.
Model
):
5
question_text
=
models
.
TextField
()
6
pub_date
=
models
.
DateTimeField
()
Download in other formats:
Original Format
Back to Top