👻
Hey. Can someone suggest me a youtube channel or any course for learning django. Please
👻
codewithharry
English tutorials?.
Akshay
English tutorials?.
https://pythonprogramming.net/django-web-development-python-tutorial/
Anonymous
English tutorials?.
django crash course by Mihai Catalin (Udemy)
Ashish
If have time to know about React Sever Component and Zero bundle size read my story in Medium.
Ashish
https://ashishmadhu26.medium.com/zero-bundle-size-server-components-all-you-need-to-know-640847ea52c8
Maltapopoulos 🇲🇹
Hello, do you know how to recreate table using Django ? I delete the files into the folder migrations and I used python manage.py makemigrations then python manage.py migrate but I got that the relation already exists
Maltapopoulos 🇲🇹
I looked at stackoverflow this https://stackoverflow.com/questions/33259477/how-to-recreate-a-deleted-table-with-django-migrations/58563341#58563341 But I don't want to use psql to do that, is there a better solution ? Thanks a lot
B419045_Rashmi Ranjan Das
If you want, i can share the code with you
Thankyou so much. But i found another way of using filewrapper and sending the file to client for download and it worked
Focky
Will be usefull to me
Ilya
Guys, can somebody explain different between rest_framework.filters and django_filters.rest_framework
Sheshadri
Guys, can somebody explain different between rest_framework.filters and django_filters.rest_framework
rest_framework.filters is similar to django admin search functionality(basically it searches through all the fields you mention with a single query parameter) and django_filters.rest_framework searches on multiple query parameters
Place
Hello everyone, i would like to make different options in a field in my admin panel, but the foreign key and the tabular inline doesn't work, did someone have a template for this kind of works or anyone can help me fix my problem please ? (For example make a table "questions" in my database, and another one "answers" where everytime i would like to create an answer i have to chose a question from the questions in the database) thank you so much in advance
mukul
or you will weite answer and question at the same time
Place
or you will weite answer and question at the same time
both, well i don't know how to explain it (eng is my 5th language) ! but what i would like to do is to have question as a foreignkey and everytime i want to register a new answer, i have to chose a question with a dropdown list (with all the questions in the database)
Place
ofc
Kam
How to customize or edit ... Admin pages
Teja
Hello guys, please help me to find online advance django courses... Thanks
Almaz
Hello guys, who knows in django, how can I make the links to the site open only if they were clicked in the telegram bot?
Almaz
If it is possible?)
Place
How to customize or edit ... Admin pages
what do you mean by custom/edit admin pages?
Place
if it's just about small customizations, editing i can help you since i did it recently, but if you asking to make some custom "filters", then i have the same question
Ad
I want to make custom dashboard on django admin page ? can anyone help me in that??
Doragonsureiyā
I want to make custom dashboard on django admin page ? can anyone help me in that??
So, why don't you do it yourself first? When you have an issue with the Python code you wrote (read rule 5️⃣ to show your code), come back here and people will help you. 😉
Michael the wolf 🐺
any one is familiar with django-mama-cas ? I want to know if there is any way to edit the attrubute names of the default user model
M
i have latest python and django but sqlite not working tried installing latest version of sqlite and re runing manage.py but the same results can anyone help
M
python -c "import sqlite3; print(sqlite3.sqlite_version)" 3.35.0
M
error i get is
M
create_deterministic_function('django_date_extract', 2, _sqlite_datetime_extract) django.db.utils.NotSupportedError: deterministic=True requires SQLite 3.8.3 or higher
M
my version 3.35.0 is higher than what i says in error not sure where i do mistake . has exported LD_LIBBARAY_PATH also but still issue in python manage.py makemigrations
Bobosher
Hi, I'm trying to filter comments in django-admin by posts they're telated to: list_filter = ('post','active', 'created', 'updated') it's showing all posts on the sidebar. Can i use something like dropdown list here?
Anonymous
Hey
Anonymous
I dont know how to use custom domin on pythonanywhere for django hosting
Anonymous
can someone try?
Rahul
Hello everyone...can anyone please help in django....i want only admin can create user through api..but this time anyone can hit the url through postman with username and password and they are creating users. How to stop them
Rahul
Yes
Rahul
I only want that no one can create user except admin
Ghorz
Give permission
Check DRF permissions
Rahul
But the problem is...i will give the permission to the view page but what happened if someone hit the url from postman???
âshîsh
But the problem is...i will give the permission to the view page but what happened if someone hit the url from postman???
No API request call app like Postman & terminal CURL will not allow them without credentials and valid permission
Ghorz
But the problem is...i will give the permission to the view page but what happened if someone hit the url from postman???
In the api, give permission, if requester has no permission, you can return a response code
Ghorz
Like 403
âshîsh
Refer this. https://www.django-rest-framework.org/api-guide/permissions/
âshîsh
Mention not :)
Kam
what do you mean by custom/edit admin pages?
Trying to add few java script validation and hide some fields based on selection
B419045_Rashmi Ranjan Das
Could you show me in direct ?
https://stackoverflow.com/questions/10493181/sending-video-as-response-in-django Check out this..
Kiran
How to convert json data into Python object
R
How to convert json data into Python object
Use json module Json.dumps()---python to Jason Json.loads()----json to python
Kiran
👍
Артур
hello some body know where can be problem? I create new project then new app, and try to run server, everything works, But when I add in settings.py my new app , I got Error.
Артур
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '<frozen importlib._bootstrap>'
Артур
ModuleNotFoundError: No module named 'post'
Артур
I try add app from apps.py and same think , not work.
Rahul
hello some body know where can be problem? I create new project then new app, and try to run server, everything works, But when I add in settings.py my new app , I got Error.
https://stackoverflow.com/questions/56166319/python-django-error-oserror-winerror-123-the-filename-directory-name-or-vol
Rahul
Do migrations and migrate
Unknown
What should be the project structure of a Django project in production? Should I add app folders inside Project folder or in the workspace folder? I googled it and everybody is doing it as his/her own wish,it is very unclear that what is the best practice.
Unknown
Currently I have apps inside workspace folder.
Anonymous
Hey ..Can anyone help me ? How to build chatbot by using Django, ML and Postgresql? Please help me
Ghorz
I'll search my pc, if I find the source code, I'll share with you
Ghorz
I used, chatterbot, adminlte, django, pattern.web and few other library
Ghorz
It works suuch that if it has no answer to your queries, it Google it and saves the answer
Anonymous
please share with me ...I'll get some idea to create the chatbot ..I'll be very thankful to You.
Ghorz
Ping me so I won't forget
Anonymous
ok
Gowtham
Share with me too guys I also need it
Gowtham
Any github link is there
Place
hello everyone, i just finished doing my admin panel (that works correctly with all the customization i wanted to have) but i would like to add some unit tests, but since i never did this, can someone give me an example where the unit tests are useful for the admin panel for example ? thank you so much (i know what is a unit test, and how to write it, but i don't see what to test exactly since there is no "back" or "front" separated like i did in my first web projects)