....
....
Musa
....
....
Add some values to the their slug
Could you explain me that. ?
What is the reason. ?
Also what will we do like in this situation ,..
I mean i have 4 fields , I added so many datas in db , after that I added a slugfield .. so.
In that case I will get this error. Is it .?
Then how can I solve that .??
Except the add each row to some slug, or dlt that ..
Musa
....
Musa
Anonymous
I am trying to deploy my django project on server, at local system it works fine, facing problem with allows host on server side, operating system centsos.
Is any additional library I need to install for that.
Sai
Add your domain or ko address in allowed hosts array
Anonymous
Sai
Don't require port number
Anonymous
Sai
What response you getting
Sai
Anonymous
Python3 manage.py runserver 0.0.0.0:8000
Сидредин
How to study DRF?
Сидредин
What is the best way?
Сидредин
Mirco
Sai
Send response for better understanding
Sai
shaikh
.
Check if port whitelisted
Sudo ufw 8000 for white listing port nd try again
Peaches
Hi guys in django rest framework whenever I request api I get new session. How to solve this problem.
Peaches
https://stackoverflow.com/questions/18251522/cookie-disappeared-in-angularjs-app-using-django-and-cors Here is an answer but I couldn't understand
Peaches
Could someone help me please
Alina
Website can't be reached in chrome browser
Alina
should i change something in DNS settings?
Alina
*in any chrome browser
GOD
Anonymous
Sayooj
Anyone know about configuration of SAML 2.0 authentication on django 3?
mukul
any tools for downloading a whole site offline
Mirco
Atul
Hey guys,
I am trying to build a Python (Django) project.
Ping me if some one ready to contribute as freelancer.
Bestin
Hi guys.. i want to add raw_id_ field in django admin for content_type object ( generic relation ) model..
Since its not possible,is there any other method to get similar purpose ?
Tech
Can any one help me how to make a django middleware.py for adding licence key and renival
Alina
Hey guys! I faced - attempt to write a readonly database
Alina
to change chmod doesn't help
Alina
maybe somebody had such problem before?
Alina
Fixed
Alina
But new problem jumpedPage not found (404)
“/home/alina/djangoprojectdir/admin” does not exist
Request Method: GET
Request URL: https://nightlifeisrael.com/admin
Raised by: django.views.static.serve
Alina
Page not found (404)
“/home/alina/djangoprojectdir/admin” does not exist
Request Method: GET
Request URL: https://nightlifeisrael.com/admin
Raised by: django.views.static.serve
5P34R
I'm not sure but it seems like error caused by directory listing
5P34R
If im wrong plz correct me
Sayooj
WPA2
Hi, I'm facing issue with django-social-oauth2 package.
When I sign up from Google a new account gets created , when I sign up from facebook again a new account gets created.
I have friend extending abstract user class and am facing some error in that as well.
Anyone will be able to help?
WPA2
cr
How to display select box containing instances of the model and when selected one instance the data should be displayed ? Any resources for this pls refer
William
Bestin
Ray of Hope
Alina
The problem was in static files paths. I deleted it and everything worked
*( (*
<body>
<form action="home" method = 'POST'>
{% csrf_token %}
{{user}}
<input type="button" value="Register">
</form>
</body>
</html>
*( (*
nothing is happening after submitting
*( (*
wht 's the issue
*( (*
its a form object
Bestin
cr
How to display select box containing instances of the model and when selected one instance the data should be displayed ? Any resources for this pls refer
*( (*
Musa
Get the input:
input= request.POST.get['name of input']
form.yourfield = input
form.save()
Priya
I have two models model A and model B
In model A ,I have 2 fields [ Aa,Ab]
In model B ,I have 3 fields [ A(model A foreign key),Bb,Bc]
I have one csv to fill these two models, where column names are[Aa,Ab,Bb,Bc]
How can I fill model B and get foreignkey object from model A using csv column values[Aa,Ab]
I am using django-import-export to import csv in admin page .
Imdadhussain
Sai
I have two models model A and model B
In model A ,I have 2 fields [ Aa,Ab]
In model B ,I have 3 fields [ A(model A foreign key),Bb,Bc]
I have one csv to fill these two models, where column names are[Aa,Ab,Bb,Bc]
How can I fill model B and get foreignkey object from model A using csv column values[Aa,Ab]
I am using django-import-export to import csv in admin page .
First save the model A and get model A instance and use while filling model B
William
Priya
Bestin