Momin
Mirco
Momin
Ok
SG
How to get current logged user outside view and request object in django ?
SG
How to get current logged user outside view and request object in django ?
V
George
T tried to post this code snippet
For long posts use a pasting service.
Turar
Shreehari
how can i fix the below error without adding
url(r'^', include('django.contrib.auth.urls')),
error: Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name.
isa
As you know that wordcloud library generate a word cloud picture depends on related word collections. But it can't generate a clickable version of it. I mean the links related to that words. Can anyone knows if it possible with a spesific module of Python ?
Mirco
isa
Yes. It is related to pages produced with Django.
Gianluca
hi guys I'm new to django, I just wanted to know if there is an easy way to add a field to the model with just the image filename
Ihsan
hi guys, how do we return bootstrap message, alert on django? for bootstrap url, bootstrap active class i achieved by return a active variable on function view
Ihsan
can anyone tell me what is the approach to add alert message, on redirect on current page and other page as well
Ihsan
https://docs.djangoproject.com/en/3.0/ref/contrib/messages/
oops found this, will try
Day
hey in geodjango how do i query one location in a detail view
Anonymous
cj
What about database
I told you to read documentation of Heroku about that... did you read it?
Anonymous
Sure
cj
Anonymous
Am going to check the documention
Anonymous
But why some other data are there
Anonymous
How we can create chat app in django 1.11
Vinayak
What is sitemap framework in Django ?
How to make it's configurations?
Anonymous
There is no tutorial for django 1.11 for making chatapp
Akash
What can be the cause of all my manage.py commands freezing.
If I run makemugrations it does make migrations but never completez, freezes after making migration and I have to ctrl + c to close it.
Same with migrate, flush, auto_reload
Akash
Everything does work but never finish and rather gets stuck forever after doing its actual job but before exiting command
Luis
I think there are 3 potential reasons:
1) A problem with a package; could be Django or another package used in your project
2) A problem with some code in your project
3) A problem with Database or another thing outside of your Django project
Luis
To discard:
- Create another virtual environment and try again
- Create another Django project and try; maybe add the same packages of original project, to see if there is a conflict between packages; add apps from original project, and check.
Akash
Akash
I don't get any error so very hard to find issue.
Dhruva
How to use soundex in Django or any other option to it
Luis
I said migrate and not makemigrations because I suppose that every app have their migration files, right?
Luis
Of course, I suppose that you know what do every app (in general terms), to can choose properly what app add first, what second, etc.
Luis
And a note: the first command in a project should be migrate, in order to apply migrations related to core of Django, then, if no migrations are contained in apps, you can execute makemigrations to create them.
Pirates Of
Hello guys I'm new to django !
I'm working on projects that needs one to one chat features any one can help me with that ?
Shubham
Search for Django channels
Anonymous
Pirates Of
Ill try once again
Anonymous
Not only once man I remember I literally read the doc the tutorial part at least 10 time or more and have some projects to do for tutorial
Shubham
Check justDjango channel on youtube, he has done good tutorial on Django channels
Meba
Shubham
Ohh... My bad... I saw his tutorial and understood how to use channels so was suggesting him
Shubham
If you find easy one do let me also know
Anonymous
For Django to get it it is only time ! According to my experience
Rajesh
What's the best practice to store template and public css and js
Rajesh
I'm which location is preferred
Diego
Can anyone help me with post_save signal? i'm trying to create a user profile when user signup
Diego
using Django Rest Framework
Fedor
Wow, I have the same problem right now, I join the question
Mirco
Share the code
Dhruva
Suppose I have 10 fields and from that I want 3 fields that user can't modify ..how to do
Mirco
Dhruva
Yaa but how to flag
Dhruva
Them
Dhruva
Can you please brief out
Mirco
you need those fields into the view ?
Diego
Put read_only = True
Dhruva
Like suppose in Telegram after joining we r able to modify our name but I want the user not to modify name after joining
Diego
Mirco, may i send you my code in DM?
Mirco
Mirco
Dhruva
Dhruva
Thanks
Diego
I have 2 models, User and UserProfile, and 2 serializers (Signup and UserInfoSerializer)
Mirco
Send the code here