Looks like I found the problem.
I am using the pattern:
I am using a pattern with multiple model files for a single app
my dir structure is:
>my_app
> models
- __init__.py
- model_file1.py
- model_file2.py
and in my __init__.py I've got code to pu
I just rtfc, and it might have been a copy-paste mistake, but the
'str_value' field in your 'DirEnumVal' class has unmatched quotation marks
for the default attribute.
On Monday, October 7, 2013 8:40:33 PM UTC-5, Doug S wrote:
>
> I don't think I'm making a rookie mistake, I've looked over my co
There's a chance that running 'manage.py sqlall' might show errors that
syncdb can't display before failing. 'manage.py sqlall' validates the SQL
without trying to commit it, so to save time in the future, you should
really run it before syncdb every time.
If not, and the app is installed, che
Hey Doug,
Any chance you haven't included those models in the INSTALLED_APPS in your
settings.py file?
Best,
Rene
On Monday, October 7, 2013 9:40:33 PM UTC-4, Doug S wrote:
>
> I don't think I'm making a rookie mistake, I've looked over my code
> several times.
> I've got two pretty simple dja
I don't think I'm making a rookie mistake, I've looked over my code several
times.
I've got two pretty simple django models that are just failing to sync to
the db
during the syncdb there are no errors, even with --verbosity 3
When I try to make a relation to them I get an error saying the models
5 matches
Mail list logo