Naresh
yes
response=request.post(url,json=data.dump)
Agent Q
response=request.post(url,json=data.dump)
https://stackoverflow.com/questions/28283865/how-to-read-json-data-in-django#28283908
Isotope751
Hi guys can you give suggestion for good projects to add to resume
Naresh
json.dumps(data)
When I tried this am getting data postman like [[123,34,101.......]] All numbers only
Naresh
json.dumps(data)
response=request.post(url, json.dumps(data)) return Response (response)
Naresh
response=request.post(url, json.dumps(data)) return Response (response)
The output is [[12,34,104,....]] All numbers in list
Ravali
hi,,, need a help in creating file upoloading module in an app
Ravali
I have created a file uploading model in an app, but getting 404 error on running the server
Майский
Hey guys! Hows it going?
Майский
I need a django specialist to setup ocr server at vps!
Anonymous
no that's get history
Anonymous
i have the ids in a databse
Patience
Hi guys can you give suggestion for good projects to add to resume
Tell us what you done, so we can choose best for you.
Rahul
Hi guys
Rahul
Can any one help me how to use SSO in Django
Rahul
Google django all-auth
Nothing here about SSO
Mirco
Nothing here about SSO
It provides u everything u need for SSO If it doesn't look like it for u, study a bit more what SSO is
Agent Q
Nothing here about SSO
Then you'll need to google for a different package. Maybe this one: https://github.com/divio/django-simple-sso If not, you continue your quest for your SSO
Mirco
?
Agent Q
Nobody knows what this means after some time
Deleted
https://stackoverflow.com/questions/66951407/query-set-object-could-not-be-shown-in-website-in-django
Sopan
https://stackoverflow.com/questions/66951407/query-set-object-could-not-be-shown-in-website-in-django
Title.objects.filter(id=query_results_book_id).values() Change this to: Title.objects.filter(id=query_results_book_id)
Sopan
remove that .values() from end
Deleted
Deleted
remove that .values() from end
I have tried, not work for me
Mirco
No! It's the only way for the view to pass context to the templates
Neo
how can i use order_by on a name column which has the data like "mr berner" and i want to order that column based on the second name that is after the space in a nested serializer. i am able to make this using raw sql but if how can i do thing using ORM.
Neo
how can i use order_by on a name column which has the data like "mr berner" and i want to order that column based on the second name that is after the space in a nested serializer. i am able to make this using raw sql but if how can i do thing using ORM.
i am using this now def to_representation(self, data): data = data.filter(bl_status=True).order_by(Substr('vc_speaker_name', 3)) return super(FilterSpeakersName, self).to_representation(data) but is there a way to get the string after a space.
Crabby
Hey guys i want to integrate a chatting mechanism and a video chat mechanism in my django project can anyone recommend me how to do that by using someones else service for free?
Hian
Hi, how use orm async with django?
Akash
My updateuser put request is returning 200 response but no change in DB. Where to look ? I am clueless
Kamal
#help Hello everyone, I'm running tests on my view, it accepts csv file, parses it and saves it to the database, I try to pass the test csv file in tests, but it doesn't work, take a look at my code and give me some advice https://pastebin.com/uj85gQ5K
Richard
Hello everyone! How can i make a multiple uploading photo in forms. I already have a primary table. I saw a solution with ajax and js, but can i make it pure python?
Ankit
How to get url parameter in bsmodalcreateview
Shivendra
Hello everyone can anyone tell me How to build verification email for registration
Isotope751
Tell us what you done, so we can choose best for you.
I as asking so that I can develop and add, currently I have simple projects like chat, todo, automated email,SMS services integration, half complete e-commerce
Isotope751
E commerce might be better, and chat be a second.
Is there anything else that I can add ?
Patience
Is there anything else that I can add ?
Don't panic, if works perfectly you will be hired.
Random
Add extra fields to register form field
Random
How to ?
Zey
Add extra fields to register form field
Create custom model or create new model and make one-to-one with User model
Anonymous
Hi there!
Anonymous
I want to customize url for email verification in Django rest framework ,how can I do it.
Anonymous
Like the user should not see the url like https://localhost/api/vi/..
Anonymous
Instead this https://localhost/email-verify/token
Anonymous
Anyone?
Richard
Can you refactor your question pls? I am cant understand
Zey
I have two app in which I have 2 models so I have to create foriegnkey with model of another app
Zey
I have two app in which I have 2 models so I have to create foriegnkey with model of another app
When i did it gives me error from seller.models import SellerRegister File "C:\Project\eshop\seller\models.py", line 5, in <module> from home.models import Category ImportError: cannot import name 'Category' from partially initialized module 'home.models' (most likely due to a circular import) (C:\Project\eshop\home\models.py)
Anonymous
Can you refactor your question pls? I am cant understand
I am getting a url in email in console which is something like https://localhost/user/email_verify/<token>..now this url should be called via email verification api and not through the standard way, because I am using vueJs
Anonymous
VueJS - > API -> Response via API -> VueJS
Zey
I have a product table in which I have column seller and in other table order I have column seller I have to create foriegnkey with seller of product table how can I do it?
Ankit
Hi guys can anyone help me with sending parameter to form_class
Zey
How I can solve this error django.db.migrations.exceptions.NodeNotFoundError: Migration seller.0001_initial dependencies reference nonexistent parent node ('home', '0020_remove_sellerregister_retype_password')
Bobosher
How I can solve this error django.db.migrations.exceptions.NodeNotFoundError: Migration seller.0001_initial dependencies reference nonexistent parent node ('home', '0020_remove_sellerregister_retype_password')
You've deleted a migration file that is referenced by other migration. Delete all migrations inside your seller application(don't delete init file) and then type python manage.py makemigrations seller in your terminal.
Editing Name
Hello, guys can help-me construct forgot password in my django-rest-framework? https://stackoverflow.com/questions/66957364/forgot-password-django-rest-framework
Bobosher
Thanks but now I am getting this error django.db.utils.IntegrityError: NOT NULL constraint failed: new__home_order.user_id
Well, deleting some migration files is causing the other migrations to fail. If you have only 2-3 application in your project, I think, the best way to fix this error is deleting ALL migration files inside your every application and making new migrations again. Then, your migrations will not be dependent on the old migrations anymore.
Zey
When I am making migration model is creating but table is not created why?
Zey
It is only not creating one table
Zey
Others are created
Uhum
Hi My project work in local I have issue In server A boute {% For fun in fun %} 😔
Uhum
I did that
Delete old migrate in migration folder And Again migrate your model
Uhum
Hi My project work in local I have issue In server A boute {% For fun in fun %} 😔
relation "fun_fun" does not exist LINE 1: ...un_fun"."created_at", "fun_fun"."updated_at" FROM "fun_fun" ...
Randy
The value in the nested form is not the same as the value in the base form I use inline formset, what is ecxeption?
Droll55
Hello! I need some help, cos i cant find a way to add actual time to a ticket pdf. Here is my code: https://dpaste.org/ZMYm I have tried datetime.datetime.now() but it doesn't work. Can someone help me to find the solution? Thanks!
John
Hi all, good evening. How would you setup a product model that has customizable fields? For example car air_conditioning: large, skate wheels:4
John
Just an example. I’m looking to have a products model that each product has completely different attributes