Mirco
Dhruv
can u explain further
Dhruv
when debug was true it was running fine but not ive set debug and template_debug off
Dhruv
now its giving me error
Mirco
Debug set to False means that you have to prepare your Django code for production purposes
For example you need a way to serve STATICS / MEDIA like a web server for doing it etc etc
Mirco
Check the Deployment topic inside the official docs
Dhruv
yess ive done that tooo
Dhruv
my static files were serving properly but
Mirco
what do logs say ?
it's impossible to help u without knowing the reason why of the 500
Anonymous
Can anyone tell me where the security key in django is used, i just depoyled to heroku and it did not require a security key
sarth
when i am importing the csv, in the database, i am not getting complete data in database from csv.please help. i am using django import export
Anonymous
sinyor
hello guys, I've written an API with DRF and I want to call special values on View. For example I have a JSON View like this:
{
"id": 22,
"userProfile": 6,
"project": 2
},
{
"id": 23,
"userProfile": 1,
"project": 1
},
{
"id": 25,
"userProfile": 6,
"project": 3
}
and when i call like ../api/?userProfile=6, i want to see all value that userProfile=6 like this:
{
"id": 22,
"userProfile": 6,
"project": 2
},
{
"id": 25,
"userProfile": 6,
"project": 3
}
how can i do that? Is there anyone help me?
Rohit
Anyone have Django for beginners book
artur
aitpash
sinyor
hello guys, I've written an API with DRF and I want to call special values on View. For example I have a JSON View like this:
{
"id": 22,
"userProfile": 6,
"project": 2
},
{
"id": 23,
"userProfile": 1,
"project": 1
},
{
"id": 25,
"userProfile": 6,
"project": 3
}
and when i call like ../api/?userProfile=6, i want to see all value that userProfile=6 like this:
{
"id": 22,
"userProfile": 6,
"project": 2
},
{
"id": 25,
"userProfile": 6,
"project": 3
}
how can i do that? Is there anyone help me?
anyone can help guys? i really need
akash
Can I post stackoverflow link here for help
akash
Django related doubts
Anonymous
akash
In django-allauth library, I want to put lots more content to the login and signup html files. I installed the package using pipenv so the files from this package are not visible in my project folder. How do I modify logins and signup pages.
𝓙𝓪𝓶𝓸𝓵𝔁𝓸𝓷
akash
Sorry, might sound noob, what did you mean by installing seperately.
akash
Currently both these links are pulled from allauth templates and functional.
Suprit
Is there any alternative for @app.before_first_request from flask in Django
Darta
i need auto slug i want slug use title field and make slug without enter anything and found this code but doesn't work for me and slug field is empty after save what's problem? https://pastebin.com/gCVqFDe7
Dharmu
Crontab not working in windows
Someone have solution for this
Darta
Mirco
Ted
Hi so I'd like to create a feature for my Admin, staff and students such that they can see and only do certain functions... How or where could I search for that
Mirco
Anonymous
hii dears I need to help to create sub menu like this
Anonymous
menu
menu1
sub menu1
sub menu2
Anonymous
who can help to me?
Gideon_User
Hi everyone,
Can anyone please tell me how would I learn Django ORM?
Anonymous
Hii I am making an application using django and I am using redis but unable to install it in windows though I know that redis is not officially supported on windows but we can do that using Microsoft archive release I install that on my system but when I am trying to run the redis server it shows an error
Anonymous
Anyone know about redis
Anonymous
Suggest me or help me out
𝕯aniel
𝕯aniel
Type on google redis for windows first 5 link u can found it
Mirco
Anonymous
Mirco
Anonymous
I am also learning python lol, just to make django not be that complicated for me
Anonymous
🤙
Can you make a blog project in django without looking at the django docs??
Mirco
Anonymous
Anonymous
Anonymous
Mirco
Anonymous
hii dears I need to help to create drop down menu like this
menu
menu1
sub menu1
sub menu2
Mirco
Crack
Can we use django class based views with ajax
Crack
Crack
Anonymous
hello dear sofia
do you want to show your category in templates ?
Anonymous
please come in PV and explain that for me
Anonymous
class Post(models.Model):
text=models.TextField()
title=models.CharField(max_length=200)
author=models.ForeignKey(
'auth.User',
on_delete=models.CASCADE
)
I have been searching for these syntax in official django docs ie the 'auth.User' but it's not there. I don't understand why they have used it here though
Anonymous
Official Django docs is one and only one
If the official django docs is the one and only, Then where did these resource am using get to know how to use the auth.User?
And this was what i was talking about, every resource has it's way of doing things and that is very confusing to me
Ted
Anonymous
Njain
How can i create an API in Django
shashikant
odin
Njain
Actually i want a ship container tracking API and i have no idea how i do it
Eu
Anyone can give me tips on how to implement the ‘create group’ option in django? I already set up django channels in my app
web
Dev
Shopping website Django Project Send me
LIBIN
2021-05-13T12:56:21.992340Z this is coming from the django backend by the datetime field
How can I convert it into normal form by making extra attributes in datetimefield in django.