Is there a way to force a fixture to be loaded first
when running manage.py test?
I'd like to load a content_types.json fixture immediately
before any other fixtures are loaded.
This might fix some of the vexing problems with using
content_types and tests.
Anyone know if this is possible?
Th
Hi Everyone,
Has anyone else run across this? I tried to enter it as
a ticket at:
http://code.djangoproject.com/simpleticket
but was mistaken for a spammer. ;-)
Django versions 1.0.x through 1.1 alpha 1, PostgreSQL 8.3.5,
Python 2.5.2
django/contrib/auth/models.py
I have long model names
> codename, too short
>
>
> On Thu, 2009-03-19 at 21:58 -0400, Giovannetti, Mark wrote:
> > Hi Everyone,
> >
> > Has anyone else run across this? I tried to enter it as
> > a ticket at:
> >
> > http://code.djangoproject.com/simpleticket
> >
FYI:
Trying to run unittests.
Using the .only() method on a queryset causes the content types
machinery to find and attempt to use a model with Deferred attributes.
This function (with print and verbosity added):
def update_contenttypes(app, created_models, verbosity=2, **kwargs):
"""
>
> I am entering them on the same page otherwise I will have to note down
> the ids of people and publications table and then go to bridge table
> and insert the ids there. So the reason I want to enter in the same
> page is I will insert the ids into bridge table whenever I click save.
> I am
5 matches
Mail list logo