Mirco
The id will appear in the URL
Mo
if we want to have a custom response based on specific function with the user given values (if request.method=="Post") such as machine learning models how should we code it in views.py?
Mirco
If you have a URL like path("foo/bar/<int:user_id>", name=foo) then you can just call reverse("foo", args=[request.user.id])
AGASTRONICS
Guys I want to make a dynamic url e.g https://myweb.com/username
卐 𐎷𐏃𐎼𐎠𐎴 卐
Hi How to exclude table for backup in django-backup package
卐 𐎷𐏃𐎼𐎠𐎴 卐
??
Avi
After deploying my django app to heroku I am getting error SERVER ERROR(500) when I am trying to visit my other web pages
Avi
I am getting the error where login required is present
W
Hi, all! I need to generate a report like "matrix" with queries in orm django. The template to feed is this one: https://unsee.cc/album#l0YanU9ZgZQn2I8K I tried in several ways using select related with no luck. The idea is to show the members and what's months are paid in a specific year. here is the code of the models and view: https://del.dog/ohuxemockal Any ideas about how to do this with queries? Thanks in Adcvance!!!
Hello
I want to run some machine learning code after submitting is there any other way than views to automatically run the code
Hello
call that code from the view?
Where that code should be present
Hello
What is cleaned_data in real time
Tukhtamurod
Hansric
Anyone used django celery for asynchronous tasks ?
Rangubha
How extend user model with images
Rangubha
I want use profile picture
Hansric
a lot of people
Thanks! I have recently started implementing in my project. Celery worker starts fine but it doesn't receive task, though I get an error from api too. Care to help ?
Avi
After deploying my django app to heroku I am getting error SERVER ERROR(500) when I am trying to visit my other web pages
Hansric
I don't see any error in celery worker, it just says ready
Hansric
But not task is received if am calling the api
Ankit
How to create API's in django?
Shubh
I want to build a real time chat proxy (middleware) in Django that send the sms recieved to my bot and send reply in real time Any advice for this?
Shubh
Sms recieved by users to my bot
Hansric
How to create API's in django?
You can use django rest Api framework
Ankit
Ok thanku
Ali Vs
Hi How A custom permission to view?
Ali Vs
Hi How A custom permission to view?
For access a model to url
Poojitha
CSRF verification failed. Request aborted. can anyone tell me why i am getting this error.
ashy
Is it possible to add fields to "User" model? Any suggestion how to extend User model.. I am trying to create a registration page with few additional fields which are not there in User model..
ashy
Sure.. Thanks
Rangubha
Sure.. Thanks
https://youtu.be/nV_N4jvWnz0
Zey
Can we make our own admin panel and integrate it with django?
Ali Vs
How I can Assign a object in view?
Zey
Yeah why not ? I made it once
U have any resources for it ?
Anonymous
U have any resources for it ?
Actually in English language no But I have resource in Persian language
Anonymous
It is a video?
Yeah in YouTube Silicium channel
Zey
Ok
Zey
Thanks
Anonymous
Thanks
Your welcome old sport
Idk
Hello everyone. I have been working on this issue for very long and still not able to fix it. I am getting this error - django.db.migrations.exceptions.NodeNotFoundError: Migration users.0001_initial dependencies reference nonexistent parent node ('auth', '0012_alter_user_first_name_max_length') context - I am trying to push my django code to an existing app (I just updated the dependecies and mainly django 1.9 to 2.2)
Idk
A little help would be nice. Thankyou
Idk
Also, locally it's working fine
Aman
Hi can anyone please tell me " how i can send a mail with attachment through Django using smtp " ?
Aman
but not working and also I'm not getting any error
Mayank Kumar
Is code with harry.. Django playlist good resources to learn Django
Mo
what is the best way to get request data for different model fields ? is it enough and correct to write this code in views.py? def get(self,request,*args,**kwargs): data = request.GET.get('name')
Rauan
I have implemented the tcp/ip socket server with pure python by using socket library, however I want to rewrite it with django channels (especially with SyncConsumer), however all documentations and tutorials in the Internet are only around the "websocket". How can I implement tcp\ip socket server with channels? When I want to connect to client.connect((CLIENT_SERVER, PORT)) and send any message, it returns HTTP/1.1 400 Bad Request Thank you in advance
Ujjwal
Actually in the front ene user will input a name. And in the response using django rest framework I have to make an api that takes name of user as input and return reverse of the name as response . I know I have to make a post api and I will get the data using request data . My doubt is do I have to make models and serializers both ?
Ruslan
Hi, can you help me with django transaction? How to use them with async class-based views? I tried, but i can't use decorator transaction.atomic or use it with manager?
Anonymous
hi can’t upload to nginx server who knows?
Anonymous
who can help?
Anonymous
magic ball knows it
it is working but on local i cant see the photo
Anonymous
from admin page while saving to base something wrong there
Anonymous
path is correct
Anonymous
MEDIA_URL = '/media/' MEDIA_ROOT = BASE_DIR / 'media'
Anonymous
+static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Doragonsureiyā
it is working but on local i cant see the photo
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
the_programmer
Does django microsoft auth supports both personal and work MSF accounts?
^o^
Is it possible to access a web application (Django) through internet, if the code and database is inside a cloud windows server.
^o^
When I run runserver command, it generates the local URL
Dev__master
Hi guys, can anyone help me , how to delete a file from azure blo based on path og the file
Dev__master
Sorry azure blob
Shoxrux
remote?