How to make a field within a class which propose all the Ids of instances from that class

2022-02-20 Thread Stéphane Faure
Hello everybody, I have a class Scene. I would like to add to that model a list of choices (from 0 to n choices). Each choice would consist in an integer representing the Id of one of the existing scene instances. Several choices can lead to the same scene instance. I am not sure at all on how

Permission view: Creating different views depending on testmixin results

2022-02-20 Thread Jian Wu
It is the first time that I am setting up a permission view for my Django project. From the documentation I get confused on how to grant view depending on which group the user belongs to. Ideall

Re: CMS 'power' getting started

2022-02-20 Thread MR INDIA
Django is a web framework not a CMS, if you want to use a CMS then use wagtail which is a Django based CMS. And Vscode would be sufficient for working with Django. If you want many custom features for the CMS then you can use wagtail, as whatever you can do in python you can do in wagtail. O

Re: CMS 'power' getting started

2022-02-20 Thread MR INDIA
Django is opinionated so it has a starter directory layout, you should stick to that. On Monday, 21 February 2022 at 11:26:45 UTC+5:30 MR INDIA wrote: > Django is a web framework not a CMS, if you want to use a CMS then use > wagtail which is a Django based CMS. And Vscode would be sufficie