Gaurav
https://pastebin.com/j6W5dgNr
Gaurav
UnboundLocalError at /register/
local variable 'form' referenced before assignment
Михаил
You see I'm looking for solution which will allow me to count hits only for specific model
Михаил
Without bots
Михаил
Only user views
venkatesh
getting issue when i migrate to change countries to country like
django.db.utils.OperationalError: (1091, "Can't DROP COLUMN countries; check that it exists")
Михаил
For specific model
Gaurav
inchidi
inchidi
Gaurav
Gaurav
inchidi
what do you want to do with those models?
Nitesh
Nitesh
It should be with first if
Михаил
inchidi
Doragonsureiyā
you have the tutorial
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Pk
tinymce image insertion tool not browse image only show three field source , dimension ...
please give a solution
carson
Guys I posted this yesterday but I still haven't been able to correct the mistake here.please help me out.
Form not rendering.
http://dpaste.com/15N7EYC
Aemie
carson
The form is not rendering but the other HTML is rendered ..
It does throw any exception
carson
carson
It still doesn't work after several attempts
Pk
image insertion in django tinymce not working
Luis
Anonymous
Jason
Anyone have done friends recommendations in django..?? Please help.
Anonymous
I have successfully made the user must first confirm from his gmail account, from the tutorial https://medium.com/@frfahim/django-registration-with-confirmation-email-bb5da011e4ef
But it turns out it only works on a local course, when I upload a project to hosting pythonanywhere he has problems when sending an email, please help my friends so that emails can still be sent so that users confirm first
Anonymous
this is the error SMTPAuthenticationError at /account/signup
(534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv\n5.7.14 WKqshDXmvU9M2ThEqPM8b0xqzUVZMNydPQ3gIdN9D4yBHWQuudSEApwesJ7og23s_JYAJ\n5.7.14 d6B_K-saw1osQkWF_OSvcKSxuapWN5m8dLvjgHpx1yHmliToNvfhitHRBH-6MOaL>\n5.7.14 Please log in via your web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 t29sm2176319qkm.27 - gsmtp')
Anonymous
Anonymous
I my case i have enabled it. Even then i still get the same smtp error. I am using Django 3.0. My project is deployed in Heroku (free).
Das
Which I the best ide for Django
Anonymous
a.mashkurov
hi everyone i'm starting to learn django what training materials advise for me?
Viktor🔮
New member? then you've been muted for 5 minutes to read the rules properly before doing anything, please don't PM anyone asking why you were muted!
By joining this group, you agree with the Django Code of Conduct
Here are some resources to start with django
if you're Iranian, you are globally restricted, we can't do anything about it, sorry.
Viktor🔮
Mirco
Doragonsureiyā
a.mashkurov
Thanks
Muslim
A
Das
Thanka
Gaurav
can somebody help me fixing 404, 500 errors..... how to custom handlers in django 2+
Gaurav
https://pastebin.com/PayJQabR
Gaurav
Gaurav
use crispy-forms
Gaurav
degub is false and allowed host is localhost, i am getting 400 error why is that?
Anonymous
Gaurav
Gaurav
but all i am getting is bad request.....
Gaurav
i dont know why
Gaurav
ans is given in the documentation but i didnt understand ..... documnetation says : If the Host header (or X-Forwarded-Host if USE_X_FORWARDED_HOST is enabled) does not match any value in this list, the django.http.HttpRequest.get_host() method will raise SuspiciousOperation.
Gaurav
https://docs.djangoproject.com/en/3.0/ref/settings/
Gaurav
thanks for the help.... i fixed it
Diego
Does anyone know how can i set 2 types of user (SignUp form) in DRF?
Diego
I've already set one type, usgin djoser token
Григорий
Have anyone tried to use LDAPBacked as authentication and then successfully got data from drf endpoint using user credentials? I'm getting an error providing my ldap user credentials with the request.
the error is: 'NoneType' object has no attribute 'strip'
it happens in line: ldap_user = _LDAPUser(self, username=username.strip(), request=request)
Anonymous
How to implement live chat support with django website
Anonymous
Anonymous
Anonymous
Anonymous
Anonymous
Anonymous
What version of django you use?
1.11
2.22
3.0.1
Anonymous
Anonymous
I have created a gmail id specific for my project. All email triggers need to be sent using that gmail id. If i cannot use that, how do i go about sending emails in django?
Anonymous
Anonymous