Anonymous
He is one of the best
charchit
charchit: My Django rest api not working properly It's not getting all data from my database Any suggestions??
OnlyGod
how do I use mapbox api in django to display maps from the models I have created
Doragonsureiyā
charchit: My Django rest api not working properly It's not getting all data from my database Any suggestions??
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you. Include details such as libraries, platform, modules, etc. and also show your code using any pasting service.
Assassin Creed
Assassin Creed
Thanks
Anonymous
I just learned Django and created a basic app, could anyone suggest me any project ideas we could work on?
Anonymous
Todo app
Anonymous
Blog
Anonymous
Shopping cart
Anonymous
I've made a blog app
Anonymous
Can I get any guidance in making a shopping cart app?
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Nikhil
I am getting different sessions everytime i am sending request from my client to django server and not able to get the session data... Please help
Andrej
Andrej
Check your cookie settings in django
Nikhil
Check your cookie settings in django
In browser the sessionid is same as the session_key in django_session database, so i guess the browser is saving the cookies
Himanshu
What all the topics we need to cover for interviews and what kind of real life experience they asked in interviews any suggestions
Himanshu
??
Andrej
What all the topics we need to cover for interviews and what kind of real life experience they asked in interviews any suggestions
I was asked about unit-tests and which frameworks I have used. And about other projects what I have done. I don't remember what else they asked me about.
isa
django.core.exceptions.ImproperlyConfigured: WSGI application 'Moto.wsgi.application' could not be loaded; Error importing module. I am having above error. But its interesting that there was no error like that yesterday. There is no code difference from yesterday. Can anyone help me please ?
Chetan
Need an idea about how we can get that file from the user that he has selected from the local directory and send it to database.
Chetan
 I am talking about the code where you will select a file from the computer and that selected should remain in the process until I press the submit button on the form. Suppose you have to submit the resume, then you selected the file from local system and then that file should be there untill i hit submit. Getting my point?
Ferrum
hello everyone my django rest framework api view isnt rendering properlly
Ferrum
how do i fix it?
Shery
!readscreen
Shubham
Hey friends, I have just a port called 127.0.0.1:8000 but I want to let my friend see my website from their own phones...so wht should I do??
If your friend is on local network then just '*' in allowed host(settings.py) and your pc's local ip has to be enter on your network connected device. Thats it.
pi
How to use slug + uuid in links?
Anonymous
I'm working on a shoping cart, how can i manage the registration and login of both seller and buyer
Anonymous
Hello. Could anyone help me solve this error? I'm trying to create models in models.py and after its done when I run the command: python manage.py makemigrations it displays TypeError: 'class Meta' got invalid attributes: ordering
ZK
Plz help.... I'm using xadmin instead of django admin. I'm using django-allauth which after migrations basically creates database like sites and social accounts in default admin in django, but the same thing I'm unable to get it in database django admin.. Plz help how can I get those.
Anonymous
please do not define your methods in the class Meta
Why is that so ? Could you please explain?
Mihir
class Meta is used to add further modifications if you need for eg if you defined a class named className and want the table in the database to be named something else... in this case you use class Meta or providing some constraints
deadspy
I deployed django_app on heroku But the problem is the data of other users is getting merge how to seperate them and give them a new section
Shubham
Hello guys https://dpaste.org/fa4q
Anonymous
Hello can I ask about fronted (bootstrap) here?
Shubham
django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'bootstrap4.templatetags.bootstrap4': cannot import name 'six' from 'django.utils' (/home/ec2-user/venvs/ab/lib/python3.7/site-packages/django/utils/__init__.py)
Shubham
can we figure this out?
Anonymous
Django 4 don't have support for six
Shubham
that i did
Anonymous
No django 3 don't have support for six
Shubham
the same code up and running on local host
Anonymous
Better downgrade
Anonymous
Or remove the package containing six
Shubham
okay let me try either of the way
Anonymous
Private python 2 compatible APIs were removed in django 3
Anonymous
https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis
Dhruva
Instance of 'Resource' has no 'events' member
Dhruva
I am trying to add googlecalendarapi
Near
Please I need a tutorial to connect my flutter app to django website
Anonymous
Anonymous
Link please
https://github.com/coder-Aayush/django_blog_flutter
Anonymous
Thanks bro
If you like then you can contribute too 😁
Shekhar
hi, I am trying to call 3rd party api to get data using js or ajax call so it was giving error in browser console: blocked by CORS policy, header is present in request. using django 2.2 python 3 that api get request is working in postman instead django cors header and changes in setting accordingly ..any hint or ways to solve this
Shekhar
installed*
Shekhar
just add these two script tag in the base template to see the error in browser console.https://pastebin.com/sWM9a8n3
Anonymous
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration oauth2_provider.0001_initial is applied before its dependency users.0001_initial on database 'default'.
RS
I want a blog tutorial with Rest framework Lemme know Pls
Mahesh
I want to send otp using django what can i do??
Muflone
Mahesh
Muflone
Send it