.
!res
Doragonsureiyā
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
🐼🖤
.
Can someone provide me with resources to get started?
sheikh
Any django channel expert here?
Michael the wolf 🐺
Hi , dumb question ...i want to call my backend with javascript from template , but the api has login required decorator.. i dont want to use token or some other stuff..anyway around this ? I couldnt think of any solution
Li
Dev
how to connect firebase datbase django project
Raghul
Neo
any suggestions on how to implement soft delete wit cascade in django or any better libs for that.
Ranken
Please anyone with some useful books for the django rest framework
Benjamin
Good morning pls I wanted to how to make radio button on django and this is what I have tried
Benjamin
Riddhish
🐼🖤
🐼🖤
Raga
Anyone help me out not able to run my Django server
Raga
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'calc.urls' from 'C:\\Users\\asus\\projects\\raga\\calc\\urls.py'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
Macurrent
most tutorials teaching django don't use generic views lol
Anonymous
Can i pickle it?
✙Yaroslav
hi, how to apply new migration file on prod server?
Complex_101
Hey I have a django form that updates a users profile. So when I update the profile , I want the form fields to be already filled up with the previous values and then edit them. I tried using initial keyword in forms.py but it is returning the object rather than the value. can anyone tell how to do this?
Rinta
Anyone help me in python django interview questions. Pls
Ranken
Deleted
https://stackoverflow.com/questions/67859036/uncaught-in-promise-syntaxerror-unexpected-end-of-json-input-for-json-data-pr error occurs when processing JSON data sent by Django
cr
Deleted
Deleted
Abhishek
Riddhish
John
Hey guys can we show related products using the recently searched products in Django in an e commerce website
John
Can anyone help me out with this
HEISENBERG
John
Shubham
Hello guys
Does anyone know how to host django website on Hostinger?
Complex_101
Shubham
Anonymous
Hi All,
I came across a platform last month which helped me to shortlist evaluated candidates to refer for the job roles in my company. I loved it as I was able to refer evaluated candidates to my HR instead of referring random forks. You must check it out refer-me.netlify.com
mansour
I have a Jason file how to build an url based on an object
example:
[{"name" : "John" , "age" : "30"},{"name" : "david" , "age" : "45"}]
examplple .com/<name>
wanderer
Dev
ok
Henil
Hii All,
I have a problem in CSS... When I have changed debug False in production at that time....my project has dropped CSS and images....so how can I solve this problem??
Abhishek
python manage.py collectstatic
Abhishek
Devils Servant
Hi guys, not sure that it's the right place to ask such question, but it's related to Django
Genemator
Devils Servant
So, I'm deploying my app, not many users rn, but in future there will be a lot, maybe 2000 requests/per second
Genemator
So..
Devils Servant
At first I tried heroku, liked it quite a lot fast and simple, now I'm trying to set up Dokku on AWC EC2(not much success achieved yet xD)
So, can you suggest the best way for production deployment, first big project
..
Devils Servant
What issues u r currently facing?
well, I do everything from guide https://dokku.com/, everything installed successfully(no errors at least), then I proceed to EC2 instance public IP to finish the configuration, but it simply doesn't load
..
Devils Servant
Macurrent
In django generic views, is it possible to use listview more than once??
Macurrent
class BlogListView(ListView):
model = Post
template_name = "blog/blog_details.html"
class DetailView(DetailView):
model = Post
template_name = "blog/post_detail.html"
class PostListView(ListView):
queryset = Post.published.all()
context_object_name = 'posts'
paginate_by = 3
template_name = 'blog/list.html
when i use this, it brings me errors though. But i was just asking if it's possible to use more than one listview and the rest views like i have used here
Genemator
guys, im learning django. Could you recommend me videos or books?
Macurrent
georges
I need some help with django and chart js
georges
I have the following class view:
georges
class ChartAbProgress(APIView):
authentication_classes = []
permission_classes = []
model = Project
def get(self, request, format=None):
labels = ['SPENT',
'REMAINING']
chartLabel = "AB DRAWINGS"
chartdata = []
queryset = Project.objects.order_by('-project_number')[:5]
for project in queryset:
chartdata.append(project.progress_abdrawings)
chartdata.append(project.abdrawings_remaining)
abProgData = {
"labels":labels,
"chartLabel":chartLabel,
"chartdata":chartdata,
}
return Response(abProgData)
georges
it iterates through objects and returns data from all objects (quite obvious)
georges
but I need it to only return data from the current object
georges
I mean the current Project I'm visualizing in browser
georges
is there a way to apply a filter?
Vamshi
Cannot import name 'view' from 'django.views.generic'
Vamshi
Any please say.. How to over come this...