Yea, oftentimes strange behavior is caused by stale .pyc/o files, so a
good troubleshooting tactic (that I myself often overlook,
unfortunately -_-) is to always blow away all such files in your
project and then restart whatever server you're using.
Note that there should never, to my knowledge,
Hi Phil,
I was already using the "new" syntax - so that wasn't the source of my
problem.
Honestly i still don't know the cause of the problem but by today it
resolved by itself. Suddenly my objects contain the correct methods...
I updated my trunk revision to latest (2917 as i write), that's all
It may not be exactly related to the problem you're having, but worth checking:
I was having some difficulty checking the right syntax for use when
referencing many-to-many fields recently, and noticed that the syntax
has changed from what is currently documented. You can find a chart
documentin
Hello Gunnar,
I am sorry, that was kind of a copy&paste error -- in my model names
maxlength is correctly set and it validates without errors.
I still have no clue why no reverse lookup methods are added.
derelm
--~--~-~--~~~---~--~~
You received this message be
Hello,
I cannot validate your model (python manage.py validate) since the Tag's name
has no maxlength. What happens if you add it?
Gunnar
Am Montag, 15. Mai 2006 18:49 schrieb [EMAIL PROTECTED]:
> hi,
>
> i am using this set of models:
> # -*- encoding: utf-8 -*-
> from django.db import models
5 matches
Mail list logo