Hariom
Plzz guide
ȺʍìɾⱮօհąʍʍąժ
Hey how I can start as fresh?
scroll up and read Rose's message
Pralaya
how can i costumize ( how it looks ) the django default admin interface ps : i used bootstrap theme but didn't know how to edit it .. it was crowded of features and removing one by one from the html file was complicated... is there an other way
pip install -U django-jazzmin You can install jazzmin and add this in INSTALLED_APPS in settings.py INSTALLED_APPS = [ 'jazzmin', 'django.contrib.admin', [...] ]
Rose
Hey how I can start as fresh?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial (https://docs.djangoproject.com/en/dev/intro/tutorial01/) * Tutorial from MDN (https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django) * Tutorial from django-girls (https://tutorial.djangogirls.org/en/)
##00
Hello there. How to connect Frontend with Backend. ReactJS and Django project?
Van
Hello there. How to connect Frontend with Backend. ReactJS and Django project?
Via API’s , use django rest to build API’s you need and interact with them in your frontend
Priyanshu Pratap
Hey folks! i just want to know what is benefit of using django with celery is it do asynchronous task just like fastapi or it is something else?...
.
I’ve found that timezone.localtime() does it
Yes thank you! Apparently the docs mentioned that now() always uses UTC. Yours works as I needed.
jj
Anyone with a python, Django or Kotlin gig?
NoBoDy
Anyone with a python, Django or Kotlin gig?
no brother we do pizza delivery here 🤷‍♂️
Satya
Hey how I can start as fresh?
Learn python and then start
Hariom
Hamidullo
Hi I am getting this message when I use the python manage.py createsuperuser command to create a superuser in my Django project python manage.py createsuperuser Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser in your project to create one manually.
Arman
Hello there. How to connect Frontend with Backend. ReactJS and Django project?
Also you have to check package called "djangocorsheaders"
Pralaya
Yes, of course
Did you try to run just this manage.py createsuperuser
Hamidullo
Did you try to run just this manage.py createsuperuser
Yes, but this method did not help either
Pralaya
Rose
User HERMOS has 1/3 warnings; be careful! Reason: rule #1: speak English
Rose
User Lohith has 2/3 warnings; be careful! Reason: this is neither a job board nor a bulletin board
Pralaya
me I don't speak english
You have to use translator sir but English
Maxim
me I don't speak english
it means you're in the wrong group
Rose
me I don't speak english
Python groups in other languages (⚠️Not managed by us ‼️) Amharic @python_amharic Arabic @arabipython Azerbaijani @azepug Chinese @pythonzh French @python_francais German @pythonde Hebrew @pythonisrael Hindi @pyhindi Tamil @pythontamilcommunity Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Malaysia @pythonmalaysia Persian @pyfarsi Portuguese @pythonbr Russian @ru_python_beginners @ru_python @python_scripts Spanish @PythonEsp Swahili @python_eafrica Turkish @python_tr Uzbek @python_uz If you have an active and well managed group that you want to be listed there, ask in the Meta group, link in the rules page.
Rose
User Tioma has 2/3 warnings; be careful! Reason: speak English only
govind
Django-oauth-toolkit installed and setup successfully in the django rest framework. I created 2 applications for oauth. When I try to get access_token using appliation1 (username and password) and application2 (client_id,client_secret).its given response with wrong wrong combination
Dine
Hi guys in Django I upload 10pdf file that all file process 3step 1)pdf to image 2)image to text 3)from text extract specific data How I do this all 3step simultaneously to all pdf Any idea
Dine
I have did that all 3step I need only concurrent task
Rose
User Anton has 1/3 warnings; be careful! Reason: contextless offtopic link
HackCoder
Pls can anyone help on how to upload zip website using Django on Cpanel without use of terminal?
HackCoder
Yea
Boss can you teach me!
Rose
User Oladoke has 1/3 warnings; be careful! Reason: do not send PMs without the recipient's consent; ask the person in the group first (rule #9)
Morteza
Pls can anyone help on how to upload zip website using Django on Cpanel without use of terminal?
I suggest utilizing version control, such as Git. Many hosting providers offer this feature seamlessly integrated with cPanel.
Pralaya
Yeah
winpty python manage.py createsuperuser Try this
Ankit Sharma
Suggest some good projects
Charly
Suggest some good projects
https://mralgo.medium.com/100-django-projects-for-beginners-to-boost-your-django-learning-eda0e12af7e3
Abhi
Django is better option for e-commerce?
Human
I will give 3 types. Explan me pls def addDate(request): obj = Date() obj.name ="hai" obj.save() return redirect('') Another: def addDate(request): obj = Date.objects.create( name ="hai" ) obj.save() return redirect('') Another def addDate(request): Date(name ="hai").save() return redirect('') What's the difference?
Human
Depends on your needs.
Means? But everything are doing the same right?
Charly
Means? But everything are doing the same right?
No, it is not the same to need a tailored e-commerce than be able to use a premade solution. Just to say an example
Human
No, it is not the same to need a tailored e-commerce than be able to use a premade solution. Just to say an example
Sorry, I didn't get you, because in one tutorial the first method was there, in the another the other methods are there... And all the 3 functions are creating new object to the database... So
Charly
I'm telling you it is the same
Vilas
Can anyone help me with pagination api
Rose
Can anyone help me with pagination api
No one can help you until you explain your difficulties.
ManDo
why does the validation succeed when I send a request with{ 'vi_name' ='', 'keyword'='a'}. This is my serialization: class InputSerializer(serializers.Serializer): keyword = serializers.CharField(required=True, allow_blank=False, allow_null=False) vi_name = serializers.CharField(required=False, allow_blank=False, allow_null=False)
🇰 🇮 🇹 🇹 🇺🫴🏻
Anyone have good coding api using django...need help
Maxim
Anyone have good coding api using django...need help
1. impossible to help without details 2. crossposting is forbidden
Vilas
No one can help you until you explain your difficulties.
I have attached pagination only front end , but I want send it as api from backend django
Vilas
Shd I send the main store page ,where shd I put that api for pagination?
Vilas
Yes
Vilas
In settings.py I have added pagination classes
NoBoDy
https://www.django-rest-framework.org/api-guide/pagination/
Vilas
Struggling with sending it as api to front end
Vilas
In my main page
NoBoDy
front-end call ur API with pagination inputs you don't need send anything
NoBoDy
I assume that u wanna paginate data by yourself like in an ApiView. For that, I guess you can still make a pagination class and use it
Rishav
Guys I'm getting this error: Not Found: /favicon.ico, please help
^1-14-19-8^
I'm getting this error - ImportError: attempted relative import with no known parent package Can anyone help?
^1-14-19-8^
I'm getting this error - ImportError: attempted relative import with no known parent package Can anyone help?
This is what it's showing - (myenv) C:\Users\Cxfd\projects\mysite>C:/Users/Cxfd/AppData/Local/Programs/Pyth Traceback (most recent call last): File "c:\Users\Cxfd\projects\mysite\polls\urls.py", line 3, in <module> from. import views ImportError: attempted relative import with no known parent package (myenv) C:\Users\Cxfd \projects\mysite>
Charly
how?
Can you do some research first?
^1-14-19-8^
Show your urls.py code
polls.urls: from django.urls import path from polls import views urlpatterns = [ path("", views.index, name="index"), ]
^1-14-19-8^
polls.urls: from django.urls import path from polls import views urlpatterns = [ path("", views.index, name="index"), ]
is giving error: (myenv) C:\Users\Cxfd\projects\mysite>c:/Users/Cxfd/myenv/Scripts/python.exe c:/Users/Cxfd/projects/mysite/polls/urls.py Traceback (most recent call last): File "c:\Users\Cxfd\projects\mysite\polls\urls.py", line 3, in <module> from polls import views ModuleNotFoundError: No module named 'polls'