Django syncdb not updating database
Hey everyone, This is a quick guide on how to setup your own readthedocs server on Windows. remote: Total 47896 (delta 19), reused 0 (delta 0), pack-reused 47843 Receiving objects: 100% (47896/47896), 37.91 Mi B | 8.76 Mi B/s, done. You should consider upgrading via the 'python -m pip install --upgrade pip' comm and.c:\Python27\pytho C:\readthedocs\Scripts\checkouts\readthedocs.org\syncdb Operations to perform: Synchronize unmigrated apps: allauth, messages, django_extensions, django_grav atar, rest_framework, annoying, textclassifier, corsheaders, copyright, privacy, django_countries, humanize, rtd_tests, haystack, doc_builder, staticfiles, rest api, bitbucket_oauth2, bitbucket, notifications, djangosecure, pagination, githu b, djcelery, payments Apply all migrations: core, account, builds, gold, sessions, admin, guardian, tastypie, messages_extends, comments, sites, contenttypes, redirects, auth, tagg it, oauth, bookmarks, donate, projects, socialaccount Synchronizing apps without migrations: Creating tables... Install Python 2.7: https:// Install virtual env using pip via command prompt (run as administrator): git clone Cloning into 'readthedocs.org'... Creating table corsheaders_corsmodel Creating table celery_taskmeta Creating table celery_tasksetmeta Creating table djcelery_intervalschedule Creating table djcelery_crontabschedule Creating table djcelery_periodictasks Creating table djcelery_periodictask Creating table djcelery_workerstate Creating table djcelery_taskstate Running deferred SQL... Followed all the official documetnation installation steps. when I follow this step: and run `python syncdb`, the following is the output: Syncing... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_groups Creating table auth_user_user_permissions Creating table auth_user Creating table auth_message ...Creating table djkombu_queue Creating table djkombu_message Creating table followit_followuser You just installed Django's auth system, which means you don't have any superusers defined. (yes/no): yes Name Error: global name 'User' is not defined Integrity Error when updating user How to override or replace admin templates for own app?I'm trying to syncdb and I'm getting this error: File"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py",line 337, in executereturn Database. Database Error: no such table: auth_permission My installed apps in settings file: INSTALLED_APPS = ('django.contrib.auth','django.contrib.contenttypes','django.contrib.admin','django.contrib.sessions','django.contrib.sites','django.contrib.staticfiles','forms',)I've tried changing the order since the docs say that permissions depend oncontenttypes but that didn't work. -m--You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group, send email to django-users [email protected]
Model fields need to be added, removed or altered once project requirements become clearer.
Good luck, Aneesh On Apr 16, am, gry -- George--~--~---------~--~----~------------~-------~--~----~You received this message because you are subscribed to the Google Groups "Django users" group.
hl=en-~----------~----~----~----~------~----~------~--~--- -- George Because syncdb doesn't do that.
See the note in the documentation asto why: received this message because you are subscribed to the Google Groups "Django users" group.
Could you please tell me what's the version of your Visual Studio? I suggest you'd better post this issue to the Python Tools for Visual Studio forum for better support.