You can:

1) redefine your sa models in django models.py
2) use sqlalchemy-migrate for database migration and initial data
population, I never used json for initial data with migrate

drakkan

On 26 Ago, 17:29, ajay <vnbang2...@gmail.com> wrote:
> HI,
>     I have used sqlalchemy for database model creation instead django
> default ORM.
>     Now i need to use fixture to load the initial data as i run test
> cases.
>     This is error message "DeserializationError: Invalid model
> identifier:"
>     The models are not defined in models.py file as i am using
> alchemy .
>     Is there any way i can use fixture to load initial data in my
> database .
>
>     my structure of app look like this
>          models.py
>          views.py
>           alchemy.py     - database models are defined here .
>           tests.py
>
>    I am using json as serialized data.
>
> With Thanks
> Vijay
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to