Re: Performing raw sql queries in database

2020-06-26 Thread Cbh Bnh
Hi, Perhaps this could help you: I had to find how many versions of each "edge" object without using a db version column So basically for this kind of dataset: ''' | ID | edge_id | geom | ++=+===+ | 1 | 22 | y | | 2 | 22

Re: I have posted my question in stackoverflow

2020-06-26 Thread Cbh Bnh
Hi, I'm not sure about what you are expecting from your template "home.html" but as it is rendered from your view "home(request)", the data passed came from the user instance that is logged-in (cf the decorator '@login_required') as it is explained here

Re: Django Reference Manual on what classes can be used with views, urls, etc...

2020-06-24 Thread Cbh Bnh
hi, Have a look to this site https://devdocs.io/django~2.2/ They have the same content then the official django doc but add a usefull search engine, links between sections and organise their content regarding the code structure and modules Cheers Le mercredi 24 juin 2020 à 02:44:46 UTC+2,

Re: Django Reference Manual on what classes can be used with views, urls, etc...

2020-06-24 Thread Cbh Bnh
Hi, I don't know if this will help but from time to time I use this site to browse into django doc: https://devdocs.io/django~2.2/ I think they use the same content as the offcial documentation but with better links and quit good search tool Cheers Le mercredi 24 juin 2020 à 02:44:46 UTC+2,