v1a0 / django-utk

The most useful tools for any django project
GNU General Public License v3.0
3 stars 0 forks source link

[DPTC-2] DBViewModel #41

Open v1a0 opened 4 months ago

v1a0 commented 4 months ago

Django project testcase should emulate usecase of model based on DBViewModel.

- my_app
- - migrations
- - - sql
- - - - sqlviews.py
- - models.py
- - views.py

For better testing it should be tested by some amount of lookalike models but shows different ways to use and customize this feature.

Like some model should be just child of DBViewModel.

Another one should show case of customization for DBViewQuerySet or DBViewManager

and so on an good as you can imagine


Parent: #10