Bral Bral
Use Linux cron tab
the task must be started by the user. crontab is unsuitable
Sai
Aww cool why you are not going with celery
Sai
Thanks
Sai
UPD: https://github.com/Koed00/django-q
Have you setup? Is this good for ecommerce huge project?
John
Why is my django app on heroku showing heroku error page yet I've DEBUG=False ? Someone help me understand. The error is for timeout
John
Check your logs you will get detailed informations
Yeah I can see it's a timeout probably because of the static files. Should this page be the one to show up?
Anonymous
Field id expected a number but got register can any one say what's the error
Asror
NoReverseMatch at / Reverse for 'customers' with arguments '('',)' not found. 1 pattern(s) tried: ['customers/(?P<pk>[^/]+)/$'] I have that mistake is there anyone who can help me to solve it?
Doragonsureiyā
Copy that error message and paste it on a Google search, read the first results.
Ninad
Can anyone tell me how to add offline image in carousel
Michael ✨
Hi, excuse me, does anyone know why I get this error? I was testing in Firefox, and it works great for me, but I tried in Chrome and it gave me that error
Michael ✨
https://pastebin.com/TLriyc37
Michael ✨
https://pastebin.com/mwcmgJSX
Michael ✨
Can you help me please? 😞
Vaibhav
Can you help me please? 😞
On line 7 in your context_processor.py. request.session['carrito'] carrito is not valid key.
Michael ✨
Why does it work in Firefox but not in Chrome?
Mohammad
Hello everyone i have a question should i know database diagram for django?
Piero
NoReverseMatch at / Reverse for 'customers' with arguments '('',)' not found. 1 pattern(s) tried: ['customers/(?P<pk>[^/]+)/$'] I have that mistake is there anyone who can help me to solve it?
In my experience you are trying to load a template that has a url that requires an argument passed along with it and that argument either was not passed from the view or you have forgotten to load it
Mayur
"authentication_customuser" this name of collection in mongo DB..How can we change this name only "CustomerUser" in using djongo
Mayur
please Help me
Mean I want only model name not AppName before of Model
Mayur
Okk Sir thanks
Naresh
'Default_Authentication_Classes':['rest_framework.authentication.BasicAuthentication', 'stdent.authentication.DoublecookieAuthentication',] I want to implement Basic authentication in debug mode And Double cookie in Production mode Please help me how I can do this
Sumit
WARNING: Could not generate requirement for distribution -jango-appconf 1.0.4 . Why I am getting this error?
Naresh
Use different settings file in prod and in dev mode
In one file I can't do it, I want in only file. Any idea
Mirco
In one file I can't do it, I want in only file. Any idea
You can Learn how to make multiple settings file for Django on Google
Mirco
How I check and append, any link for this please
Learn what 12factors in Django is And you will discover cool things
Mirco
12 factor or 2
https://djangostars.com/blog/configuring-django-settings-best-practices/
Doragonsureiyā
Tq so much
You're welcome! 😊
burak
Hello Guys, I have an IntegerField on my model, I set it to default=1, I want it to increase +1 on every creation, is there any suggestion? thanks in advance:)
burak
Hello Guys, I have an IntegerField on my model, I set it to default=1, I want it to increase +1 on every creation, is there any suggestion? thanks in advance:)
for example I created this Model with Integerfield=1, I want next one’s Integerfield=2 and go on like that
Patience
burak
yeah, but sometimes I will need to change these numbers
Patience
yeah, but sometimes I will need to change these numbers
Okay, use : models.AutoField() Don't set default.
Mohammad
Hello everyone i have a question should i know database diagram for django?
Sumit
Can anyone tell me What is interfaces, filter_fields and relay-node in graphene-permissions?
Sahil
Hi! I thought you might like to read my new article: Application Modernization https://www.linkedin.com/pulse/application-modernization-sahil-gupta
Mohammad
Yes
can you tell me a tutorial for learning diagram?
Doragonsureiyā
can you tell me a tutorial for learning diagram?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Naresh
How I can send screen shot here?
Doragonsureiyā
How I can send screen shot here?
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you post a wall of text (many lines), delete it or you can get a warn strike.
Naresh
if settings.DEBUG==False: # Do something REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': [ # 'rest_framework.authentication.BasicAuthentication', 'aps_back.authentication.DoubleCookieAuthentication', ]} ​ else: REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': [ 'rest_framework.authentication.BasicAuthentication', 'aps_back.authentication.DoubleCookieAuthentication', ]}
Naresh
is it correct way?
ꪉꫝꪖꪹᦋꪖꪜ
Hello guys
ꪉꫝꪖꪹᦋꪖꪜ
How to insert picture into the table in nodejs?
ꪉꫝꪖꪹᦋꪖꪜ
I've been trying from 2 days
ꪉꫝꪖꪹᦋꪖꪜ
Can anyone pls help me🙏
Naresh
if not settings.DEBUG: REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': [ 'aps.authentication.DoubleCookieAuthentication', ]} ​ if settings.DEBUG: REST_FRAMEWORK = {'DEFAULT_AUTHENTICATION_CLASSES': [ 'rest_framework.authentication.BasicAuthentication', 'aps.authentication.DoubleCookieAuthentication', ]} when i try this always it is in Basic authentication only, not going for Double cookie
Naresh
anything i can modify in this
Amar
How to easily learn django?
Pavel
How to easily learn django?
Not to learn it and start learning laravel
Himalaya
Please help, I set my session_cookie_samesite='None' now I'm unable to login it redirects to login page without showing any error
Amar
Why bro
Pavel
Why bro
Because Python itself isn't made for a web development. If you want to be nothing but web developer learn php + laravel(or symfony)
Agent Q
why?
Php and Python are similar. They both handle server side. If you want truly web, do javascript but that's not why we have Django group
Agent Q
So stay on topic