Khumoyun
I have tag field in News model. I have not an idea how to select multiple tags with Ajax, help me P.S: I am not using forms.py
Slim
Sorry
Anonymous
When connect react frontend with django Do you use Api?
Ramazan
Yes
on
I want to receive data to my ph number or email frm my website form..... which django package shud i use?
Nirupam
Hello guys, how to fix incorrect padding
Nirupam
Error
M
hi i have written some modules and imported that in my views.py so that i can use functions there in module. whati see is even i change the functions in module , changes don't get reflected and seems django doing some caching there ..
M
any suggestion i can have these changes reflected without restarting my sever
Dan
Men, a question about PGSQL in Django. If I create db, user, some data on first computer and then push it all in Github - where will be a database file like db.sqlite3 in SQLite? How can I get data from this database when I pull my repo to another computer? Thanks a lot
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
sammy
How to implement AWS Glue in REST API...??
sammy
Any idea about AWS Glue...??
:(){ :|:& };:
Hi, Creating dummy csrf or adding csrf_except, which one is secure way?
Jimmies San
lol
i have a tattoo about that fork bomb :)
sammy
How to implement AWS Glue in REST API...??
Anonymous
Hi, while implementing djongo and mongodb models , i used decimalfield for representing latitude and longitude but there comes a db error saying mongodb does not recognize decimal fields , is der any other way to store latitude and longitude in mongodb with django
Jimmies San
or this https://stackoverflow.com/questions/29249828/how-store-latitude-and-longitude-in-mongodb-collection-and-how-to-use-it-with-s
Jimmies San
and so on
Root
How to implement custom check while updating field on django admin
Omar
I run the development server on my Wi-Fi. ( runserver 192.168.44.43:8000). I've shutdown the development server but Chrome and Firefox still loads my Django web app. Why ?
Omar
I've cleared all caches
Anonymous
Yes i tried google many a times , and one stackoverflow answer directed me to use decimal field of django with mongodb , but when i implemented it and ran migrate cmd it says db error
Anonymous
How to implement custom check while updating field on django admin
I believe you will have to create a validator method in your model and pass a validator argument to the field in the model.
Root
I believe you will have to create a validator method in your model and pass a validator argument to the field in the model.
I need to have a check which says whether on django admin user can see that model object or not
shruti
We are a group of 2 members one is dealing with frontend and I with backend . So I will definitely be using django rest framework . My job is to create a signup login logout system with full authentication about password email username . Also include functionalities like change password reset password And also .I have to develop a social login system as well . .. I have seen many videos regarding this and I am confused . Some have used django.rest.auth .. which has all features while some have import user model from django.contrib.auth.models and doing stuff with serialiser and checking authentication by treatign serialisers as forms while some are using knox authentication tokens . Anyone can please help me .what should I do it what will be best for me in this usecase please help I am totally confused .. please tell in context of django rest framework.
shruti
Watch Corey Schafer playlist on Django
I am talking about django rest not django.i think he has made videos on django ..for simple django forms and all that I know . We are a team of 2 as I already told so I can't use templates static files all that ..I am dealing with backend only not full stack
Andrea
good morning everyone, I state that I am at the first steps in using django ... I wrote the form for a newsletter in a file.html, which is rendered correctly but I cannot understand how to activate it, if the user enters an email and click the subscribe button how can I make sure that an email with content = user mail (textbox content) is forwarded to me?
Bhaskar
Anonymous
You can build API for login or Registation too.
Sandy
Please create a project where you need to use an custom user model requiring email as the login userver name. Create model to get student registrations, have a view for login, logout, submit application, view applications page in the front end. on the django admin display the data, with searchable fields and list filters
Root
Hi guys how can I make check whether user can view and edit only that objects which he is allowed on django admin
Taku
How to get our location using location API?
Kapil
Hello my Django application is failing on load test saying "free (): corrupted unsorted chunks:" . Can anyone please help me what would be possible cause. PS : I am extracting data from Oracle db through cx_Oracle connection.
Anonymous
Can't we use two different buttons with different url and parameters in same html page? It show me noreversematch error?
longNT
Hi everyone I am newbie here. Hope can have your help
Ariel
Hey all. I'm developing an eComorce, based on Django and Saleor. Will it be the right way to finish the backend, and then move it to a freelance for writing the views and the frontend?
Ariel
It highly depends on your situation. Mostly freelance is the market either cheap or very specific labor.
I'm a good developer for the database side, queries, integration of the payment method, Celery ect. But I'm lack the skills and touch for UI/UX design. I need it to be really sharp and nice looking for the customers.
Anonymous
it's your fault, but you can do it
I know it's my fault but if it's not yours then could you please try to ans my question?
Anonymous
Can't we use two different buttons with different url and parameters in same html page? It show me noreversematch error?
Can you please share your template to see what you're trying to achieve. You can have multiple buttons redirecting to different pages. It can be achieved using the anchor tag in html
Mirco
I know it's my fault but if it's not yours then could you please try to ans my question?
I've answered you that you can, if you don't share your code how do you think we can give u suggestions ?
Anonymous
https://stackoverflow.com/q/64553211/7494813
Mirco
https://stackoverflow.com/q/64553211/7494813
first suggestion: study python and its code style please
Mirco
functions require snake case and not camel case
Anonymous
How to host flask in besthost.by
Doragonsureiyā
How to host flask in besthost.by
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Anonymous
Hi
Anonymous
https://stackoverflow.com/q/64553211/7494813
Micro already answered your question on SO. But let me add more inputs. The view named viewAll is a list view function. It is returning all records from your Restaurant model. For the same reason, there is no need to pass a argument named mycid in the function. Remove it from the view, from the url and also from the template, and it should redirect to the correct template when you click on the View All button.
Anonymous
My apologies. It got auto-corrected.. 🙏
Anurag
I have developed a website in django ...as I am low in financials I can’t afford AWS RDS as it cost 800$per month. And when I am hosting PostgreSQL on VPS my website gets slow... what can solution for this.. in the sense an option which cost me low in price and give sufficient speed...
Anonymous
I want mycid once it'll be printed in viewall definition I'll write logic.
Anurag
It’s take time to connect django server and PostgreSQL server.... how can I reduce this time
Anurag
When I use PostgreSQL in my local computer it gives best speed
Anonymous
I want mycid once it'll be printed in viewall definition I'll write logic.
Not sure what you mean. Are you saying you want to print the cust.custID value in the html page?
Mirco