Mohit
https://stackoverflow.com/questions/54160180/social-auth-app-django-integrity-error-when-user-is-logged-out
Mohit
Somebody help?
Mohamed
Why don't you use django-allauth it has really good social Auth and it easy to use
Mohit
Django allauth, I found it difficult to set up, since I have already done the login and registration templates
Mohit
To use allauth now, I would have to modify it in the allauth templates
Mohit
And registration has custom fields.. This is actually easier
Mohit
Any way to know if user has connected Facebook?
Mohit
I figured it out
Mohit
Thanks
Anonymous
hey guys
Anonymous
I'm reading a book and there's his complete code in Github (https://github.com/Apress/practical-django2-and-channels2) But I want to clone this repository and see how the final project will look, just out of curiosity . But there are things there that I do not know how to configure, like JS and the packages installed by Pipenv, can anyone help me by saying what I should do to get this project to run locally? What I see I know is just changing the database, email, and so on.
George
Just read the tutorial :E
Anonymous
But this use npm and other things
Anonymous
No?
George
npm is orthogonal to pipenv
Anonymous
This ptoject
Anonymous
Have many js
George
And?
George
pipenv is for python and npm for js and node, etc
Vikas
Hlo g
Vikas
I want to learn Django g
George
I want to learn Django g
Follow the official tutorial or django girls
Vikas
Plz tell me ya give me some video to know about djnago g qqqqqqqq1AQ
Vikas
Which django tutorials g
Vikas
Plz give me link but in Django new version g
George
Also @pythonres
Anonymous
How to webhook dialog flow in django
Ronald
How to webhook dialog flow in django
do you know “how to webhook?”
Ronald
Plz tell me ya give me some video to know about djnago g qqqqqqqq1AQ
first fix your keyboard….. debugging is gonna be intense otherwise.
Ronald
No
learn to write post and get requests
Ronald
webhooks are essentially exposed api requests
Anonymous
here are the files for budget app
Mirco
Study again official docs
Anonymous
please take a look into this.
Mirco
Trust me, studying is better 😀
Anonymous
i know how things work, still hitting this issue
Anonymous
path('<slug:project_slug>', views.project_detail, name='detail'), part in urls.py is not accepting anything as slug
Ronald
show your urls
Mirco
Use pastebin or similar not files pls
Anonymous
okay
Anonymous
https://pastebin.com/SDYLVYa1
Mirco
Views as well
Anonymous
https://pastebin.com/ifYSkqwZ
Pradhvan
Hey ! I am trying to edit a model instance but I am getting raw query in the fields instead of the data and can't even save the model fields . Can someone look at the code ? https://dpaste.de/kXEO
Anonymous
https://pastebin.com/i85nPSRY
Ronald
@harrypotter0 hey dude
Ronald
format is wrong - should be something like this
Ronald
path('<project_slug>', views.project_detail, name='detail'),
Ronald
just a word of caution - there might be conflicts with your index or something similar so I recommend making the path something like ‘post/<project_slug>’
inchidi
hggchgghc != hggchgghc/
Anonymous
hggchgghc != hggchgghc/
I tried that too, but it's not working
inchidi
that different error tho
Anonymous
how to match it with the query?
Anonymous
i mean the url entered
inchidi
how to match it with the query?
you are the one who wrote project = get_object_or_404(Project, slug=project_slug) in views.project_detail() you should know how
Anonymous
inchidi
clue: slug as param in get_object_or_404(Project, slug=project_slug) stand for lookup parameters (column of your model)
inchidi
sorry. I didn't get that.
you should check your model
Anonymous
okay
Pradhvan
Was passing the model class instead of the instance
Anonymous
you should check your model
sir I am still not able to figure out the issue.
inchidi
Anonymous
ok
Anonymous
try share your Project model
views.py https://pastebin.com/8BJGULZw project-detail.html https://pastebin.com/bD8M1HAB models.py https://pastebin.com/ndZLZ3Hf urls.py https://pastebin.com/PTuPxs4K main/urls.py https://pastebin.com/BAtvJxj1
Anonymous
3.6
inchidi
oh nice