Do you have suitable file system permissions on the db file for use in
the new context?

Are the two usages (if they are on different machines, or in different accounts)
using the same version of sqlite?  (I don't know enough about sqlite to know if
this is a problem, but it's worth checking.)

Does the settings.py configuration give an absolute path or relative
path including
"../some_dir/..." that doesn't work in the new context?

Bill

On Tue, Jan 25, 2011 at 10:36 AM, Ben Dembroski <i...@ionraystudios.com> wrote:
> Hi all,
>
> Afraid I've got another newbie question.   I've been doing some
> development on a project using sqlite3.  All is working well, and I'd
> like to use the same database file in another project, data intact.
> I've copied the database file, and the models.py file to the
> appropriate locations in the new project.   When I run syncdb, the
> only result is 'no fixtures found.'
>
> When I pop into the shell, all the fields are there, but I can't get
> to the data in any of them.
>
> For instance, inside the shell for the new project I run:
>
> Person.objects.all()
>
> it returns
>
> []
>
> Do I need to do something besides just copying the database file to
> keep my data, provided the models.py files are unchanged?
>
> Many thanks,
> Ben
>
> --
> 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.
>
>

-- 
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