Comments (4)
Can you paste a complete traceback?
from what.
After typing python manage.py migrate do, this is the traceback:
/home/dominick/virtualenv/WHAT/local/lib/python2.7/site-packages/django/utils/hashcompat.py:9: DeprecationWarning: django.utils.hashcompat is deprecated; use hashlib instead
DeprecationWarning)
/home/dominick/virtualenv/WHAT/local/lib/python2.7/site-packages/django/contrib/localflavor/init.py:2: DeprecationWarning: django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.
warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)
Running migrations for do:
- Migrating forwards to 0002_auto__add_field_task_status.
do:0001_initial
ValueError: Cannot import the required field 'utility.models.GenericPartyForeignKey'
from what.
Should this not be importing 'what_apps.utility.models.GenericPartyForeignKey'? If so, where can I find the code to do so?
from what.
Gotcha. OK, my take:
- What is the standard practice if you have a migration that is from before a refactor, as we have here?
- Sure, you can change it if you want in do.migrations.0002 or whatever.
- We're never, ever going to rollback this migration - I'm not opposed to deleting it at this point.
from what.
Related Issues (20)
- emergency service link HOT 1
- Add "resolve" button to calls on watch_calls page HOT 6
- Create "setup db" command HOT 2
- Separate fluidBarter into its own project
- Deprecate generic FBVs
- Adding apps to sys.path is clever and rude HOT 1
- Ask about user after inactivity
- Link buttons on TinyMCE don't work HOT 1
- Automated creation of private module
- Service Check-in : "Customer" box raises 500 when text is entered that does not auto complete. HOT 1
- Service Check-in : Remove tiny Green "Group" button HOT 4
- Plus Sign is missing from Service Checkin
- Make link from watch_calls to phone call resolve task
- Strange AttributeError HOT 1
- BudgetPerspective is having an existential crisis...
- Seperating theoretical from actual transactions.
- I am Bill's impertinent docstring...
- Should we seperate some things?
- Section 1 Elements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from what.