Markus, one specific question re your blog post.
"What happens when you call python manage.py makemigrations? First of all,
since no apps are given, Django reads the migrations from all apps listed in
INSTALLED_APPS. In our case, this is ('author', 'book',). "
I have the following in
On Mon, Sep 22, 2014 at 08:41:36AM -0700, Anil Jangity wrote:
If I don't use syncdb, I should also create the super user account
using data migration? If so, it seems like I need to go do
User.objects.create_superuser().
There still is the option of running "python manage.py createsuperuser"
Thanks, looks like I need to do a second pass at the documentation. ;-)
In my dev environment, I was trying to do a clean/fresh install; including the
creation of the super user account.
If I don't use syncdb, I should also create the super user account using data
migration? If so, it seems
Hey Anil,
On Sun, Sep 21, 2014 at 05:29:18PM -0700, Anil Jangity wrote:
$ python manage.py syncdb
Just as a side note: "syncdb" is deprecated and is being replaced by
"migrate".
I have a main/migration/update_site.py:
def update_site(apps, schema_editor):
current_site =
I wanted to update the site domain/name using data migrations in Django 1.7:
$ python manage.py makemigrations main
Migrations for 'main':
0001_currencies_locations_posts_userprofile.py:
- Create model Currencies
- Create model Locations
- Create model Posts
- Create model
5 matches
Mail list logo