cj
I'd stick using a RDBMS with Django
Kowalski
Yeah, im working with postresql too, but im asking if in case i ever need to work using mongo
Anonymous
Any had used django custom user model ?
Anonymous
With function based view
Anonymous
Do we needs to extend it , if i need to upload a picture. As user profile ??
Anonymous
Any ideaa
Anonymous
Thanks
Dipe
Mirco
Official docs tutorial
Ghorz
Have you tinker with python
Shaan
Django docs from official website will do. Don't just read try implementing it
Victor
How can I return column FIO from my model USERSBD not only primarykey this model?
I am doing it at this moment like
Responsible = models.ForeignKey(
'users.USERSBD',
on_delete=models.CASCADE,
related_name="Responsibles")
P.S. users-app in the project
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
How do you guys implement NPM packages in your project i.e. Semantic UI. I installed it in to static with my project dir as the project dir and it dumps a "#¤"load of files in my base dir...
ⓦⓐⓢⓓⓚⓘⓛⓛⓔⓡ
I created real time chat application using python and django-channels, now I need to implement real time voice call solution, how I can achieve this in python? I saw there is a module call pyaudio, need to try it. Can we achieve this, without using any paid module?
Juan José
hello everyone
Juan José
do you know if I want to create an desktop application using django?
diproger
Hello everybody, how can i add a field to a table without loosing existing data?
Shubham
Hello
Shubham
How to add extra fields in http://127.0.0.1:8000/api/v1/rest-auth/registration/.
Im following this link
https://wsvincent.com/django-rest-framework-user-authentication-tutorial/
Mirco
diproger
Shubham
Can we customize the all auth package from site package
Mirco
Shubham
etc
Mirco
Shubham
https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html
Shubham
Should I go with option 2
Shubham
I'm sure but just confirming
Shubham
Among the given link
Mirco
yep and you should use your own RegistrationSerializer to have custom fields
Mirco
this is the right link for your scenario
@Snj1507
Anonymous
Hi.. I used formset factory to add data. But I'm how re populate data to edit it ??
Anonymous
Queryset shows error
Anonymous
Is it possible to do that ?? Or i have to inline formset ??
Anonymous
Any idea
Mirco
show your code
Anonymous
https://dpaste.de/icLM
Anonymous
In html i used,
{{ pdfformset.management_form }}
{% for form in pdfformset %}
{{ form}}
{% endfor %}
Anonymous
Error is ,
Init__() got an unexpected argument
Arthur
Any free good resource to study complete Django?
{°_°}
tnx for the last help
{°_°}
one more thing i wanted to creat profile to users and companys how can i store those account separetly any ideas please?
乌卡帕拉
hihi, Happy Valentine's Day!
N
Hlo everyone as I m new in Django please help me how to start in Django
Mirco
N
Which one
Mirco
N
Thanks alot
Mirco
Yw 😁
Oleg
how check if value is array in jinja template?
Shivam Negi
hey guys I am creating a Django form in 2.1 version but custom validation is raising Validation Error...what to do?
Mirco
Mirco
kintul
How can i print stuff on console (either of server or web browser) from html lying under template folder??
cj
cj
kintul
do it in the python side 🤷🏻♂️
Is there any good documentation where I can understand flow and relationships between files - - views.py, url.py and html files under template folder
cj
cj
Yes but I am confused how data flow between these files 😞
urls.py are the communication point between user (browser), it tells django what to call, an URL is associated with a view (in views.py), when a user goes to an URL, the associated View is run, and if that view has an associated template, it will be displayed in the browser
kintul
kintul
Nazar
Hi guys✋
How can I remove tags in command line?
Nazar
I created in tag: title and slug
cj
🤔
Nazar
I need to remove one tag
Álex
Nazar
Yes
Álex
Tag.objects.get(id=YOUR_TAG_ID).delete()
Nazar
Thanks👍
Felex
Felex:
Hello,who can give me an insight on how to upload multiple images in django