Short answer:
Create your test db the same way you created the one that your application
already uses.
Run your tests using the keep db flag: python manage.py test --keepdb or
—reuse-db in case you are using pytest
https://pytest-django.readthedocs.io/en/latest/database.html#reuse-db-reuse-the-t
No, you put all the management command you'll need in a build.sh file. so
you can put say: python manage.py migrate and so on.
On Sun, Jun 23, 2024 at 8:24 PM Gabriel Soler wrote:
> Hi, I am curious how do you deploy on a function base system with Django,
> when you need to much to access the ma
Hola, soy bastante nuevo también. Debug true significa que te va a decir
que problemas tiene tu código al hacer runserver.
Eso es normal y es bueno hasta que lo publicas.
La segunda parte tiene que ver con que cambiaste en urls.py. ahí tienes que
registrar el admin y alguna página. Como lo cambi
Hi, I am curious how do you deploy on a function base system with Django,
when you need to much to access the manage.py?
How do you deploy in vercel? Does it have a way to reach the command line?
Gabriel
On Friday 14 June 2024 at 15:17:34 UTC+2 Augusto Domingos wrote:
> Hey, sorry for the late
Dear all
I am doing my first deployment and using heroku. I am using the eco tier
and connected a postgres database.
When I try to run tests with heroku CLI it tells me I am not allowed to
create a database. As Django creates a database and destroys it after, I
wonder how you have solved this i
5 matches
Mail list logo