Questions tagged [syncdb]
82 questions
0
votes
3 answers
Django Tutorial - Database setup - sqlite3 (Stuck..)
So, I'm here(Database setup) in the Django Tutorial 'Writing your first Django app, part 1'. Everything up to this point has gone fine, but now I'm stuck.
I go into the outer mysite directory in DOS, and I type 'edit settings.py'. This creates a new…

Miles Bardan
- 415
- 3
- 8
- 17
0
votes
1 answer
moving django site to another server
I want to move my django site to another machine.
(I want to start with empty DB)
I thought i'll be done with the following steps.
copy all files
setup all tools(django,python,..etc)
run syncdb
When I run manage.py syncdb, it complains some…

eugene
- 39,839
- 68
- 255
- 489
0
votes
1 answer
Django syncdb AttributeError: 'list' object has no attribute 'startswith'
Have not been able to find a solution for this.
models.py
class Product(models.Model):
prod_id = models.IntegerField(primary_key = True)
prod_name = models.CharField(max_length=128)
prod_price = models.FloatField()
prod_quantity =…

Mat70x7
- 112
- 2
- 9
0
votes
1 answer
Installing django-blog-zinnia
I am going through the docs of http://django-blog-zinnia.com/documentation/getting-started/install/
and when I syncdb I get this error, tagging is in my installed apps, can someone help me?
Traceback (most recent call last):
File "manage.py", line…

Klanestro
- 3,185
- 5
- 25
- 31
-1
votes
1 answer
Every time I run Python manage.py I get this error
pycharm@glenn-liveconsole3:~/mysite/quickstart$ django-admin.py syncdb
Traceback (most recent call last):
File "/home/pycharm/.virtualenvs/anchondo/bin/django-admin.py", line 5, in
management.execute_from_command_line()
File…

RobertDjangostudent
- 189
- 3
- 8
-1
votes
2 answers
Unable to resolve following error using Django tutorial - ImproperlyConfigured: settings.DATABASES is improperly configured
I'm using the django tutorial for learning how to use Django.
I'm unable to resolve this error
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
This…

Anagha
- 740
- 1
- 10
- 16
-5
votes
2 answers
manage.py syncdb not working
DJANGO@linux-l94a:~/Desktop/myblog> ./manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 443, in…

Droid
- 1,410
- 8
- 23
- 37