Popups in django forms?

2021-02-26 Thread zvo...@seznam.cz
I want start a new project with good support for popups (select+options) in forms. My requirements are (and I think for real life project they are neccessary): 1. ajax retrieved options based on users selection (outside of admin and inside admin), 2. dynamic filtering of (especially related) opt

Re: Popups in django forms?

2021-03-03 Thread zvo...@seznam.cz
mplete_fields. Dne pátek 26. února 2021 v 10:14:54 UTC+1 uživatel zvo...@seznam.cz napsal: > I want start a new project with good support for popups (select+options) > in forms. > > My requirements are (and I think for real life project they are > neccessary): > 1. ajax retrie

How to hide/disable ModelAdmin

2021-03-04 Thread zvo...@seznam.cz
I want use Django 2+ autocomplete_fields. Adding them into (source) ModelAdmin will give lot of errors (see bellow). So I must add a (target) ModelAdmin with search_fields=... After that everything works. However I don't want to have such new ModelAdmin's visible/accessible. I have data of their m

Re: How to hide/disable ModelAdmin

2021-03-05 Thread zvo...@seznam.cz
Dne čtvrtek 4. března 2021 v 21:22:41 UTC+1 uživatel zvo...@seznam.cz napsal: > I want use Django 2+ autocomplete_fields. > Adding them into (source) ModelAdmin will give lot of errors (see bellow). > So I must add a (target) ModelAdmin with search_fields=... > > After that e

GraphQL library

2024-03-05 Thread zvo...@seznam.cz
I want start learn and use for my own project (together with Apollo frontend library). What do you think is a proper library selection in 2024? strawberry-graphql-django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Reactive frontend + Session Authentication (+ csrf ?)

2024-05-20 Thread zvo...@seznam.cz
With traditional frontend (like realized with Django templates), the user will GET the login form and in this step Django sends csrf token. Later, in 2nd step, you send credential and the csrf token to the server. But in Django + Reactive frontend (Svelte in my case, but it is not important at