S
Yes
Still learning?
Bunty chhatri wala..
Still learning?
Yup..its a never ending thing
S
Yup..its a never ending thing
I mean, if you're working as a professional or just learning
P.T.K
Are you learning python
S
Ohk
S
Learning
How long it's been?
Bunty chhatri wala..
P.T.K
What??
P.T.K
You are learning django from 6 months
محمد دلشاد
thank you for reply .. i am using modal only the problem is passing data to model from the template .. can u please guide me or give me some examples
send data via django messages on loading check the django messages if there is any then in that block use js to open the modal and write the mesaage in modal
bikrant
While using usercreationform how do we get rid of extra warning texts on html page?
Nana
Thank y all
محمد دلشاد
While using usercreationform how do we get rid of extra warning texts on html page?
dont write the form as {{form}} instead use {{form.username}} {{form.email}} {{form.password1}}
Nats
I use LDAPbackend for authentication and django's permission for authorization. Different AD groups have different permissions. I used a custom AUTH_USER_MODEL from AbstractUser, is it necessary for me to create a new Group instead of using django.contrib.auth.Group ???
bikrant
dont write the form as {{form}} instead use {{form.username}} {{form.email}} {{form.password1}}
Then I just have to add labels for all fields right apart from that everything is same?
bikrant
yup
Thanks 👍
Anonymous
do i have to make changes in views.py file for login while creating custom user model...??
Salim
can anyone pls help me Importerror: cannot import name 'inventory' from 'stock.views' Url.py From . import views app_name='s' urlpatterns=[ path('stock/inventory', view.inventory, name='inventory') ] I have the same views function like this in other app in thia project
Zokir
Hello there, i have deployed my project on shared hosting (( Now i am having a problem RuntimeError: populate() isn't reentrant, referer: Tech. Service is not answering.. Maybe someone knows how to solve this problem? - Thanks
Salim
check for name in views.py
Views.py from stock.views import views as inv1
Anonymous
Read books to formalise yourself and youtube to sharpen your skills.
Firmcode
Any Djangocms guys in this group?
lil meow meow
Hello. I have csrf verification failed mistake in POST request, however in GET it's works. I've hardcoded JSON in Postman . Using function based view decorator. Why is it?
lil meow meow
token/protect?
token, if I've understood you right
Doragonsureiyā
Any Djangocms guys in this group?
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Firmcode
Hi I need to attend to an issue with Django CMS apphook throwing up this error: TypeError at /en/resources/ sequence item 0: expected str instance, proxy found Can someone help?
Anonymous
I want a female Django programmer friend! I’m a female too.
M
everytime my page is getting refresh i can see in backend static js files are getting GET call
M
i assume it should not and seems it is slowing down
M
any idea ?
M
i have mentioned them like this
M
<script src="/static/assets/plugins/jquery-knob/jquery.knob.min.js"></script>
M
i tried doing this <script src="{% static '/static/assets/plugins/jquery-knob/jquery.knob.min.js' %}"></script> but it gives error saying i am not closing the block of static
M
hi @dilshad_i_am can u suggest me on the pop -up bro how to pass the value in modal from the template
Anonymous
Hello guys please I'm new here
Anonymous
Please how do I create a model that will allow me to paste the image path from the admin site and them be rendered to the html template
Anonymous
Abdul Shakoor
Hi developers, I almost learned django and django-rest-framework, and I want step forward, so what do you recommend me to learn JavaScript or Wagtail??
M
hi Guys i am getting al lot questions in Django . earlier i asked in group that how can i get the data refreshed in my template.html every 1 min . as a work around i did put <meta http-equiv="refresh" content="5"> on top of html file which is refreshing whole page but now problem is each refresh is not getting latest data from views.py
M
anyone can guide me plaase
Dheeraj
Hi developers, I almost learned django and django-rest-framework, and I want step forward, so what do you recommend me to learn JavaScript or Wagtail??
Hey, can I ask where did you learn Django Rest Framework from? I've been searching a lot for Django rest resources but couldn't find any....
Doragonsureiyā
Hey, can I ask where did you learn Django Rest Framework from? I've been searching a lot for Django rest resources but couldn't find any....
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Dheeraj
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
No. I did try to go through the Documentation. But it was way to high level for me to understand
cj
No. I did try to go through the Documentation. But it was way to high level for me to understand
DRF documentation is very basic, not high level 🤔🤷🏻‍♂
Dheeraj
It's like I was not able to find out what particular thing is used for what
Dheeraj
Like that...
Anonymous
Does anyone know ... How to implement Augmented reality using Django ?
Anonymous
In websites
cj
It's like I was not able to find out what particular thing is used for what
everything is clearly explained oh the documentation, they have each particular thing on DRF explained what is used for and why
cj
even with examples
Dheeraj
Alright. I'll give it a second go. Maybe I understand something better...
cj
Does anyone know ... How to implement Augmented reality using Django ?
that's more a thing on front-end/client side
Anonymous
that's more a thing on front-end/client side
Do you know how ?... If so .. can you share any possible way
cj
Do you know how ?... If so .. can you share any possible way
as I said, that's more a front-end/client side thing, nothing to do with Django, so, no
Anonymous
Okay ...
Okomo Jacob
i’m not able to post media to this group. the error says “ ‘django-admin’ is not recognized as an internal or external command, operable program or batch file. ”
I had the same problems.Error in error out when i was starting to learn Django. I later realised i was skipping core steps occasionally..So my lil piece of advice is start ut from scratch and preferably use a video tutorial. Use the exact tools they are using e.g If he's on a Windows OS,use so to avoid conflicts and be keen yo class follow step by step.
A
I'm trying to add env variables in django but it's not working . My .env file export ABC=True And I'm trying to use it in my settings file ABC=os.environ.get('ABC') But it's not working And when I tried to print it out, it returns None. What am I doing wrong ? #NeedHelp
Punam
Hello friends, I have start study to Django. I face some problem. can anyone help me how to import csv and create table, graph, used dynamic drop down or other basic using python.
Punam
Thanks how to import csv file in Django?
Anonymous
Thanks how to import csv file in Django?
You can use pandas for load csv data after that you can create json format of that data and show it using html
Punam
Thanks
Nabeel
[WinError 10053] An established connection was aborted by the software in your host machine how to solve this error??
A
try $ source .env
I'm working on windows
Shyamkumar
I'm working on windows
ok use this https://django-environ.readthedocs.io/en/latest/
Allexiusw
I'm working on windows
Use powershell and it will work