John
How do I get a drop down when inputting fields in a nested serializer
John
In rest framework for foreign key fields
William
In rest framework for foreign key fields
Do you want a dropdown in the API URL?
John
Yaaa
William
Yaaa
Using class-based views and get_queryset function on it will give auto-generated fields for creating and updating data
William
I'm not sure that we can achieve the same with function-based views. I haven't tried that.
Anonymous
I have a music streaming project in django. Now I want to stream the audio from backend to frontend made in reactjs. Please suggest me how can I achieve that.
Roshan
How to Post image in django rest api i am getting error : the submitted data is not a file. Check encoding type on the form
Anonymous
Not yet but I am planning for something like that do you have any suggestions
Anonymous
🙌
Anonymous
Do you have GitHub project?
Anonymous
There was an exception (ModuleNotFoundError) importing your module. 2021-06-18T16:35:18.815647+00:00 app[web.1]: 2021-06-18T16:35:18.815647+00:00 app[web.1]: It had these arguments: 2021-06-18T16:35:18.815647+00:00 app[web.1]: 1. No module named 'mac.settings' 2021-06-18T16:35:18.815648+00:00 app[web.1]: 2021-06-18T16:35:19.026862+00:00 heroku[web.1]: Process exited with status 1 2021-06-18T16:35:19.144494+00:00 heroku[web.1]: State changed from starting to crashed 2021-06-18T16:35:40.816863+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=mycartandblog.herokuapp.com request_id=d5e4043b-96a3-4017-b7a5-5a0fe30b085b fwd="47.31.159.139" dyno= connect= service= status=503 bytes= protocol=https 2021-06-18T16:35:41.848521+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=mycartandblog.herokuapp.com request_id=ab1e0db2-0d01-4b63-8b80-4b01883efb5f fwd="47.31.159.139" dyno= connect= service= status=503 bytes= protocol=https
Anonymous
Guys I'm getting this error while deploying on heroku
Anonymous
No module Mac.settings
Anonymous
Mac is my main website
Anonymous
If you now reactjs, then it's not a big thing.
Yes but what is the best way to achieve the real time audio streaming between server and client
Sumit
Yes but what is the best way to achieve the real time audio streaming between server and client
https://blog.logrocket.com/websockets-tutorial-how-to-go-real-time-with-node-and-react-8e4693fbf843/
Sumit
Replace Nodejs part with django in reactjs
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
how i can install django in pycharm
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
and how i can see output
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
please tell
JP
Good afternoon! I need to consult an external API which must return a json, would anyone be able to help me on this?
Anonymous
I want to learn python with django
Anonymous
Dont have any one to teach me
Anonymous
Where to start
Sabi
Where to start
Google Django girls tutorial
Anonymous
Ok
Anonymous
Dont have any one to teach me
YouTube and udemy This are good resource for star
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
Which course online free course or paid
Nariman
Google Django girls tutorial
Is there anything for men?
Genemator
Is there anything for men?
it's the name only, it's for everyone
Sabi
Is there anything for men?
This one is for everybody, friendly for newbies.
Nariman
It was a joke)
Genemator
It was a joke)
these days you can't know gender by the name
TITAN彡HACKY
Hi.. how to use custom content css in Django tinymce
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
Send me a link
〲☞ 🅓🅔℣ᴵᴸ🅢 -;-༒•♛
And tell cost of course
Zarif
'
Anonymous
Give me link tutorial rest framework in Django
Anonymous
How to work rest framework in Django ?
William
Jack
hello i am still having issue with css not loading anyone can check it?
𝕯aniel
Write
Anonymous
Guys What is integrityerror ? When this error is given?
Jack
static is not loading the css and i have all ok
William
static is not loading the css and i have all ok
Updated styles not working or CSS file itself not updated?
Jack
css itself not loading, just html shown
William
css itself not loading, just html shown
Are you getting any errors?
Tanu
css itself not loading, just html shown
Write Static path set in setting
Tanu
If static path is not ryt declare in setting then give error your css
William
Css wont load - Using Django - Django Forum https://forum.djangoproject.com/t/css-wont-load/2108
Bwaks
hello this is my details page url.....path('<int:id>/',views.event_detail,name='event_detail'), ........and this is the anchor at html ...... <a href="{% url 'event_details' event.id % }">{{event.event_name}}</a>.....but is not working am getting this error .... "GET /%7B%%20url%20'event_details'%20event.id%20%%20%7D HTTP/1.1" 404 3671...please help
Anonymous
I know, I know very well. I’m a Django developer, I just have a project to work on using php. I’m hoping i can find someone here who understands the problem that can help me, is not really a php problem. Is a web dev problem.
Doragonsureiyā
I know, I know very well. I’m a Django developer, I just have a project to work on using php. I’m hoping i can find someone here who understands the problem that can help me, is not really a php problem. Is a web dev problem.
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Katia
Hello there, I have a question and would appreciate any recommendations from you guys. I'm building a django application where I have more than 3 user groups. Each one of those users needs his own authentication system (login+registration +...). I tried to look it up and found that I can use the following : - django hosts - django tenants or django tenants schemas. Isn't there an easier way to deal with my case ? Please note that I can't use a separate front-end UI with APIs to solve my issue. Thank you for your help.
Jack
hello my static is not loading css by some way can anyone help me
Katia
hello my static is not loading css by some way can anyone help me
Can you share more details? How are you calling your css on your template ? Did you set your settings.py ? Did you call you static files on the top of your template's page ?
Gustavo
Good evening, in Django, I built 16 tables, using pandas to read the CSV files and to convert the table to HTML and to use to_html() to render the table in HTML on the HTML page. But I noticed that the page loads after 45 seconds, I believe that pandas's CSV and to_html(), and JSON and requests libraries cause the page to slow down. Who understands that, can help me a little?
Brandon
Hello everyone do you think is better Linux than windows for django development?
Ghorz
The client said so
Not necessarily, one authentication only. You instruct your software to present data based on role
Brandon
yep
Why❓
Gustavo
Hello everyone do you think is better Linux than windows for django development?
Yes, because Python installation on Linux is native and simple.
.
Why❓
for example celery
Katia
Not necessarily, one authentication only. You instruct your software to present data based on role
I need 3 different login pages. And eacg one of them has to have his own ligout redirection path as well.
Ghorz
Hello everyone do you think is better Linux than windows for django development?
Your skills is more important than the os. But99% of the time, you'll host on Linux platform. Configurating nginx, supervisor... Requires linix