Paschaljet
Showed an error ... Can I share the code?
JP
Yeah
JP
You can share the error trece..
JP
Trace*
Presence
Hi...
Presence
I'm using dj-rest-auth
Presence
How do I implement social auth?
Presence
urlpatterns = [ path('admin/', admin.site.urls), path('auth/', include('dj_rest_auth.urls')), path('auth/registration/', include('dj_rest_auth.registration.urls')), path('accounts/', include('allauth.urls')), ]
Presence
I'm using allauth url as of now
JP
You can search for any example on github...
snc
hey this is little bit foolish question, i created a django webapp for registering user using usercreationform.... now i am working with rest framework... and want to have same authentication process as web app.... but i don't know which model to use in serializer. py for serializing? anyone can help?
Luciano
Hello! Yesterday I was dealing with forms and now I'm learning about formsets. I can show correctly in the view the formsets but I'm confused about how to process and save the forms in the views.py file: https://dpaste.org/OTKz
Luciano
When I submit the form, it does not save and does not show any errors related to empty fields and stuff like that
Luciano
What I need to achieve is to save the forms preserving the relationships. Any help will be appreciated!!!
Luciano
By the way, I'm talking about a new record, not an existing one
JP
Python*
RS
I completed coding for entrepreneur try Django series, now what to learn after that to become fluent in Django development
Luciano
Use puthon debugger...
You mean django python shell?
You mean django python shell?
No... it's different just google how to use pdb
Anonymous
I was making two tables in a single module ,the second one is the related to first one through foreign key .Now I want to access both table content through form tag from html page , I was able to access the first one table but not foreign key one(second table)
JP
You can use pdb in local environment only. As Mahesh said you can search how to use pdb it will be lot helpful..
Luciano
Thanks JP !
Luciano
@alkalit the saviour awakes (you save me yesterday with forms haha)
JP
> in local environment only Nope ;) Not only.
On large scale production environment it will be risky ..
How ?
In as forms.py use second table which has foreign key
Luciano
<3
haha, now I'm dealing with inlineforms and getting lost again :(
Luciano
Sure Alex! no worries and thanks!!! :D
Rhythm
Who uses react for front-end here??
Anonymous
Rhythm
I did once
Why'd you stop?
I did it ,but it's not working
https://youtu.be/gXGQmt_U9Ao
JP
Why'd you stop?
Other work and complexity of redux..
I did it ,but it's not working
Watch this tutorial may be this help you to get point
JP
Why'd you stop?
I integrated it with webpach and django..
JP
Webpack*
Rhythm
I integrated it with webpach and django..
Which framework would you suggest??
JP
Which framework would you suggest??
For front end or backend?
JP
Depends on project requirements, and your curiosity..
JP
Efficiency, etc..
JP
For learning react is on top
JP
Bith web and mobile development are using it.
JP
Both*
Rhythm
Rhythm
What about angular?
JP
What about angular?
Have you heard about polymerjs?
I did it ,but it's not working
https://stackoverflow.com/questions/11056844/django-how-to-get-data-connected-by-foreignkey-via-template
JP
What about angular?
I am not interested in frontend libraries but i started react as a requirement of new project in my organization... Dont know much about use of angular, vie, ....
Rhythm
Just wanna learn a front-end framework for when I decide to consume the APIs, or when I'm required to
JP
Just wanna learn a front-end framework for when I decide to consume the APIs, or when I'm required to
Then you have to learn es5 and es6 then you can move on react , react-redux, react-thunk.
JP
I did it this way
Rhythm
I'm not really into js, that's why I've been having issues with react
Rhythm
JP
Bro it was a joke
JP
Curl, right?
Yes technicality
Anonymous
hello
Anonymous
any body help me for this
Anonymous
{% if x.name == field and len(x.name)!=0 %}