Have you executed python manage.py syncdb? Thomas
On Wed, Feb 6, 2013 at 2:22 PM, Avnesh Shakya <avnesh.n...@gmail.com> wrote: > > I have checked many time, even i have deleted my project n i have created > new project again and create new model but error is occurred again n again.. > i m beginner so plz help me.... > > C:\mysite>python manage.py shell > Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > (InteractiveConsole) >>>> from polls.models import Poll,Choice >>>> Poll.objects.all() > Traceback (most recent call last): > File "<console>", line 1, in <module> > File "C:\Python27\lib\site-packages\django\db\models\query.py", line 72, > in __repr__ > data = list(self[:REPR_OUTPUT_SIZE + 1]) > File "C:\Python27\lib\site-packages\django\db\models\query.py", line 87, > in __len__ > self._result_cache.extend(self._iter) > File "C:\Python27\lib\site-packages\django\db\models\query.py", line 291, > in iterator > for row in compiler.results_iter(): > File "C:\Python27\lib\site-packages\django\db\models\sql\compiler.py", > line 763, in results_iter > for rows in self.execute_sql(MULTI): > File "C:\Python27\lib\site-packages\django\db\models\sql\compiler.py", > line 818, in execute_sql > cursor.execute(sql, params) > File "C:\Python27\lib\site-packages\django\db\backends\util.py", line 40, > in execute > return self.cursor.execute(sql, params) > File "C:\Python27\lib\site-packages\django\db\backends\sqlite3\base.py", > line 344, in execute > return Database.Cursor.execute(self, query, params) > DatabaseError: no such table: polls_poll >>>> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Mvh/Best regards, Thomas Weholt http://www.weholt.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.