Ario
Ario
Needs some linux knowledge
Ario
By the way , good question i had this problem too
Neo
Please don't debate this.
Rohan
So it only rebuilds that layer when a change in requirements.txt happens
Faraaz
when i refresh my page in django form the fields are filled automatically the with the previous data i gave how to change this
Emmanuel
Emmanuel
But I think there is an attribute called, autofill or so
Emmanuel
U can simply turn it off and to stop that from happening
Emmanuel
autocomplete="off"
Emmanuel
Check this out
https://www.google.com/url?sa=t&source=web&rct=j&url=https://gist.github.com/niksumeiko/360164708c3b326bd1c8&ved=2ahUKEwj987_k6KP4AhUU_IUKHTWZBnsQFnoECBYQBQ&usg=AOvVaw0KKqnToq_h7zYodCP4aKkz
Faraaz
Sayan
I'm getting permission denied
Sayan
Whenever I use Python3 manage.py startapp appname
Sayan
In ubuntu 22
Emmanuel
Are using a virtual environment??
Faraaz
Faraaz
also i add it to the django forms
Faraaz
still didnt work
Emmanuel
Browsers like chrome are fond of that, I don't have any ideas on how to stop it at this point in time
Faraaz
Magjan
Hello guys! Is that ok to deploy django project in VPS by nohup command?
Ibrohim
Hi.
Is there a custom file field that can support multiple files.
for example if i say instance.file_field.urls it should return list of urls or something like that
shashikant
I have this requirements:
1. Store student data, school data and books data
a. Create table(s) to store this information
2. Create a URL from which we can get student detailed info (Student Full Name, Student
Email, Gender, School Name, School Phone, Books read by that student, Total number of
book pages read by the student), provided student ID.
shashikant
how should be do model relation between student,school,book model
so that we can do crud operation to all three models using single api
S
hi guys I have a question if I assign request.session to a variable and then make changes to the variable does the request.session get updated ?
if yes how
Anonymous
I got an error in ubuntu while run requirements.text
Anonymous
Anonymous
× Building wheel for twisted_iocpsupport (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Anonymous
shashikant
for what
For some assignment.
DOUBLER_GATES
Shubham
{% for emp in allemp %} {% if emp.id == i.assignemp %} selected {% endif %}{% endfor%} is not working please help me
Shubham
Anyone please help me
Shazam_
How to save logs generated in django into a separate file.
If can send link, please do share
Emmanuel
Poppu
https://github.com/django-cms/django-filer/issues/1296
Poppu
Poppu
https://ibb.co/ykRdpR3 also why this show error
S
Alex
Rutherford
I’m getting hit with no module named cloudinaryaccounts although I’ve installed cloudinary.
Please help
Gerald
Hello everyone
Gerald
I inquiring if it is recommended to deploy an e-commerce Django app on Amazon elastic beanstalk.
Emmanuel
Sanchit
Hii everyone !!!!!
Can anyone help me out
I made a website in Django which has two types of users - student, teacher
Now when I want to show the name of login user in nav bar ....it is showing that name which has login in admin panel of Django
Not the user which I have login in login page (teacher or student)
It should show the name of that user to which I have login in login page (either teacher or student)
Please help me out...
Tuấn
please, help me:
Tuấn
error: " Origin checking failed - https://xxx.com does not match any trusted origins."
Tuấn
thanks all.
Rutherford
Sanchit
S
Emmanuel
Noted. Quite new to me tho
Shazam_
How to save logs generated in django into a separate file.
If can send link, please do share
Maxim
Sanchit
Hii everyone !!!!!
Can anyone help me out
I made a website in Django which has two types of users - student, teacher
Now when I want to show the name of login user in nav bar ....it is showing that name which has login in admin panel of Django
Not the user which I have login in login page (teacher or student)
It should show the name of that user to which I have login in login page (either teacher or student)
Please help me out...
Rasul
Sanchit
Rasul
Nikhil
Sanchit
Anonymous
how to order instances with number/integer in django filters
Ali
Hi guys i need help.
I have 3 modal
Author,company and Book
I need to add foreignkey of Author and company in Book models
But i like this :
Class Book(models. Model):
book = models.Foreignkey([Author,company],)
Or
Class Book(models. Model):
book = models.Foreignkey((Author,company),)
But this not work
And when i use ContentType
Show all models
And i ilke
Whene choice model name show the model objects in othor filde
Choice (('Author,Author),('Company,company),)
Model =models.CharField(choices=Choice,)
Object=models.ManyToManyField(Model,)
Bakhodir
from the very beginning, where exactly do i create the static folder, and media folder or do they have to be at one place, and the settings.py configurations
Mohammad
Hey
I wana connect my django project to keycloak whith outhlib
I login to Keycloak and the response comes back, but I can not authenticate in Django
Can someone help!?
Tuấn
Anton
Hello! I need to add to my django admin page sigle page with preferences. How it possible to do it?
Anton
Oh, okay thanks.
Neo
Oh, okay thanks.
I simply achieved this by creating my own views, added the urlpatterns for them (i did not care about /admin/foo) url. In the view i simply used LoginRequired mixin to make sure the user is authenticated and in the rendered template i extend the admin templates
Neo
but for my use case, there were only superusers. No regular users, so i did not have to check for their role