On 4/21/07, James <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> "datasource = models.ForeignKey(DataSource)"
>
> I tried changing the fixture line to "datasource": "1", but this
> results in the stack trace below. Does anyone know how to set up this
> fixture properly?
Pretty close; what you're looking
Never mind. Forgot to reference the fixture in my test.
jh
On Apr 20, 10:28 am, James <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having some trouble setting up a fixture for a model (Dataset)
> that has a many-to-one relation with another model, DataSource. My
> initial try at this was to put "data
Hi,
I'm having some trouble setting up a fixture for a model (Dataset)
that has a many-to-one relation with another model, DataSource. My
initial try at this was to put "datasource_id": "1" (the "1" points to
a datasource fixture in another file) in the dataset fixture, but that
results in
"Probl
3 matches
Mail list logo