include polls application in installed_applications in settings.py file and
do this import
from polls.models import Poll in shell , let me know if that works.
HTH.
Best Regards,
Srinivas Reddy Thatiparthy
9703888668.
"Anyone who has never made a mistake has never tried anything new !!! "
--Albe
I have Created the Project and App using Python And Django.
This is My Model in my model.py
--
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('da
2 matches
Mail list logo