I put my sqlite files into .gitignore.

Rafael E. Ferrero

2016-02-25 12:55 GMT-03:00 cortez <relativef...@hotmail.co.uk>:

> Hi,
>
> I'm using the out-of-the-box Sqlite database integration with my Django
> project, and I'm wondering how to manage it with respect to Git. Currently
> I have it checked in, but I suspect this isn't what I want to be doing.
> Also I have noticed that every time I log in to the admin interface and
> view a record Git tells me that the .db file has changed, even if I make no
> changes to the record itself... not sure what's going on there.
>
> So I want to add the database under my .gitignore, but I don't what the
> best practices are with respect to maintaining my project database outside
> of Git. I guess I could just dump it to JSON using dumpdata and check
> that in, but that still seems a bit cumbersome. Do people do that? I don't
> know what alternatives there are to that. Is there any kind of Django
> extension available for this?
>
> Any advice very much appreciated.
>
> C
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/403b06ed-1a7b-4a9b-9534-ba011b615090%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/403b06ed-1a7b-4a9b-9534-ba011b615090%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJJc_8XVMRL49HDdc2L9p6ATehjdcR90Cn--UHb6gyxATFyH4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to