Thank you sir. Your tutorials are thorough, detail-oriented and at a moderate pace without making a beginner like me feel overwhelming. Wish your channels get more recognition.
As a suggestion for a future video, I'd love to see something on generic relationships, and maybe a real-world possible use case example that goes beyond that's written in the official docs. Thank you for the quality content!
@@veryacademy well I have got the solution. If you use some remote postgres database like elephantsql or neon console, these database user doesn't have 'superuser' or 'createdb' permission to create a new test db inside it. So I use the '--reuse-db' argument during pytest command to use the main db as test db. ``` pytest -rP --reuse-db ``` Hope I am doing it right way. Thanks
Sir i am unable to use the set_password option , showing none type object has no attribute with set_password ... but the user is created succesfully i have printed , so why this is none ? no clue from google !
Underrated but one of the best development content channel! Hope that you reach great heights. Thank you for this amazing content!
hey, thanks 👍
Thank you sir.
Your tutorials are thorough, detail-oriented and at a moderate pace without making a beginner like me feel overwhelming.
Wish your channels get more recognition.
As a suggestion for a future video, I'd love to see something on generic relationships, and maybe a real-world possible use case example that goes beyond that's written in the official docs. Thank you for the quality content!
Noted!
i was really looking for a video like this since long on test cases .... so a big thank you Sir!! love from INDIA !
Glad it was helpful!
Maaan, I was looking for such clear explanation for 2 days. Thanks a lot!
very very good series (especially giving chance to replicate the code) .Thanks a lot
Awesome video, so well organized. Love this channel.
This is great! Thank you!
You're very welcome!
what you mentioned at 19:10 - 19:25 about data persistence using factories,
can you please guide me how it can be achieved ?
Can you please show how to connect to a PostgreSQL database during test? It doesn't connect to the default one automatically.
Django will use the same connection settings as in your settings.py for tests, but will use a different database?
@@veryacademy well I have got the solution.
If you use some remote postgres database like elephantsql or neon console, these database user doesn't have 'superuser' or 'createdb' permission to create a new test db inside it.
So I use the '--reuse-db' argument during pytest command to use the main db as test db.
``` pytest -rP --reuse-db ```
Hope I am doing it right way.
Thanks
thks i love your engligh lol It's very simple to understand (i'm french) haha
Oh I was waiting for the solution to the error when scope "session" is used. I don't understand why it is not working
Unique Content!
👍
Sir i am unable to use the set_password option , showing none type object has no attribute with set_password ... but the user is created succesfully i have printed , so why this is none ? no clue from google !
Thank you!
Thank you.
You're welcome!
How can I split fixtures in my django project? I mean, each app with its own fixtures
Make a fixtures folder in each app and only load what you need
😍😍😍
👍
sir plz make a video django with mako template
Hi Sonu, just wondering why you are using mako? Not saying you shouldn't and so on - I really just wondered - such a niche template library.
@@veryacademy sir plz make video django advance template concept
But you didn't show how to create one User object with scope session, create one object for all test cases, btw it was good