Merge lp://staging/~james-w/libdep-service/enable-admin into lp://staging/libdep-service
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Jonathan Lange |
Approved revision: | 77 |
Merged at revision: | 77 |
Proposed branch: | lp://staging/~james-w/libdep-service/enable-admin |
Merge into: | lp://staging/libdep-service |
Diff against target: |
45 lines (+11/-0) 3 files modified
Makefile (+1/-0) django_project/schema.py (+5/-0) django_project/urls.py (+5/-0) |
To merge this branch: | bzr merge lp://staging/~james-w/libdep-service/enable-admin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange (community) | Approve | ||
Review via email: mp+132716@code.staging.launchpad.net |
Commit message
Enable the admin, run migrations on the dev db, and enable db periodic tasks.
Description of the change
Hi,
My apologies for folding things together, but they are all small and
standalone.
While testing the periodic tasks in the db I found three problems:
1. We don't currently enable the admin area, so we can't easily set
them up.
2. We don't currently run migrations for the dev db, so the table
doesn't exist.
3. Django helpfully warns us that our settings are wrong for using
this functionality, so I extended the schema to make the default
to use the db for scheduling.
Thanks,
James
To post a comment you must log in.
All good. Thanks for doing this.
Will we need to run migrate in production?