Why my tests need to run migrate before??

30 vistas
Ir al primer mensaje no leído

XaviP

no leída,
2 abr 2017, 10:23:35 a.m.2/4/2017
para Django users
Hi django users,

I'm trying to understand if it's a standard behavior the need to run migrate before tests, in a fresh installation of an app or project with django 1.10

Thanks!


ludovic coues

no leída,
2 abr 2017, 10:51:59 a.m.2/4/2017
para django...@googlegroups.com
My first guess would be that test happen on a fresh database and
migrate is how django build its database
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@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/c7a467bb-046d-4692-81bb-9ce6acce96b2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

XaviP

no leída,
25 abr 2017, 10:17:04 a.m.25/4/2017
para Django users
Thanks for the response.
The problem was about some non-lazy queries in views.

El diumenge, 2 abril de 2017 16:51:59 UTC+2, ludovic coues va escriure:
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos