Re: How can add multiple forms according to input enter number or with click add more button

2021-09-26 Thread Derek
Have a look at https://django-formtools.readthedocs.io/en/latest/ This includes the ability to skip steps based on information already supplied - https://django-formtools.readthedocs.io/en/latest/wizard.html#conditionally-view-skip-specific-steps On Thursday, 23 September 2021 at 20:37:03 UTC+2

Django Channels channels_redis not connecting

2021-09-26 Thread raj program
I'm using Django Channels in my app to make a person to person chat function. For this I'm using *Django Channels channel layers* that uses 'Redis' as a backing store. I have following configuration in the settings.py: CHANNEL_LAYERS = { "default": { "BACKEND": "channels_redis.core.RedisChan

Re: Cannot start Daphne / Looking for channels production deployment with daphne/nginx

2021-09-26 Thread mab.mo...@gmail.com
Ok. Got a bit further but getting a different error daphne -b 0.0.0.0 -p 8000 mabtest.asgi.main ERROR: ValueError: not enough values to unpack (expected 2, got 1) Any suggestions? On Thursday, September 23, 2021 at 9:45:59 AM UTC-5 jmenen...@gmail.com wrote: > You are missing a main at