summaryrefslogtreecommitdiff
path: root/devel/management/commands/update_types_permissions.py
AgeCommit message (Collapse)Author
2015-04-16Update update_types_permissions to work with Django 1.7 and up.Luke Shumaker
Django commit 00110904ac67050c639f93cfd7b5e19218b changed the signatures of update_contenttypes and create_permissions. The relevant lines from the commit are: -def update_contenttypes(app, created_models, verbosity=2, db=DEFAULT_DB_ALIAS, **kwargs): +def update_contenttypes(app_config, verbosity=2, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs): -def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kwargs): +def create_permissions(app_config, verbosity=22, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs):
2011-12-05Add a stub admin command to help fix permissions/content typesDan McGee
I needed this today to get the application working from scratch on another host. Probably not all there yet, but we'll see how far it gets us. Signed-off-by: Dan McGee <dan@archlinux.org>