Re: manage.py dumpdata app.model doesn't seem to work?

2009-03-06 Thread Russell Keith-Magee

On Sat, Mar 7, 2009 at 5:48 AM, Alex Koshelev  wrote:
> This `dumpdata` command you can only serialize whole application not just
> its models.

This isn't completely correct. As of [9921], you can specify
individual models to dumpdata. However, [9921] was committed after the
v1.1 alpha 1 release, so you'll need to be using a recent trunk
checkout to access this feature.

Yours,
Russ Magee %-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: manage.py dumpdata app.model doesn't seem to work?

2009-03-06 Thread Alex Koshelev
This `dumpdata` command you can only serialize whole application not just
its models.


On Fri, Mar 6, 2009 at 11:17 PM, John M  wrote:

>
> I tried using the command
>
> $ python manage.py dumpdata app.model.
>
> where app is the name of my application and model is one of it's
> models, I didn't actually use the names app and model.
>
> I get the following error:
>
> django.core.exceptions.ImproperlyConfigured: App with labelapp.model
> could not be found.
>
> I'm running 1.1 alpha 1.
>
> Thoughts?
>
> I'd love to be able to dump the data for just one table and then
> reload it.
>
> Thanks
>
> John
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



manage.py dumpdata app.model doesn't seem to work?

2009-03-06 Thread John M

I tried using the command

$ python manage.py dumpdata app.model.

where app is the name of my application and model is one of it's
models, I didn't actually use the names app and model.

I get the following error:

django.core.exceptions.ImproperlyConfigured: App with labelapp.model
could not be found.

I'm running 1.1 alpha 1.

Thoughts?

I'd love to be able to dump the data for just one table and then
reload it.

Thanks

John
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---