K..S
why?
path. makes it easier even if your url path (html file) is in a different location That's what I know
Zhaks
How to check the weight of a package without installing it?
Conditional elector of HRE
Hi. How else can you get objects of only the parent model? I managed to write a hierarchy, where when an object of type ConceptUK is created, a Concept object is also automatically created: class Concept(TranslatableModel): <...> class ConceptUK(Concept): place_ptr = models.OneToOneField(Concept, on_delete=models.CASCADE, paren t_link=True, primary_key=True, related_name="tag",) <...> #views.py: entry_list = Concept.objects.filter(tag__isnull=True) Is it possible without such a relationship: without automatic initialization of the same objects in both tables? Thanks.
Giacomo
Guys im having trouble on understanding the difference between oneToOneField against Foreignkey I want to create a Customer model, wich has a link back to the Account model that i've created on top of AbstractUser. So i can store specific info of customer in the customer table. How should i do this?
K..S
It is not
So why are you asking the question if you know?🙄
George
So why are you asking the question if you know?🙄
Im asking what do you find better and why. If there is no hard opinion on neither, then i can do as i want.
Masoud
hi when i whant install reportlab with pip on docker for django project i have this error error: subprocess-exited-with-error google can not help me , i have picture of error
Rajat
Hi friends I want to do continuous task in django so anyone can suggest how can i do it
Dip
Whats technical stuffs to learn inorder to be job ready as a django developer
Rajat
Use celery
I know bro but due to indian credit card restrictions i can't use addon for celery 😔
salar
Hi friends I want to do continuous task in django so anyone can suggest how can i do it
If your schedule is more than 30 seconds you can use Django Q
Alen
Can I use DRF and MVT at the same time? I am using MVT for routing and DRF for sending and displaying data. And frontend is handled by js fetch api I know this is totally stupid. But can it be used like this?
Bhaghi
Hii I have some dought
Bhaghi
Crud operations is worked in only rest api or possible to Normal django project Iam trying to develop one project frontend and backend and also crud operations But iam done the frontend and backend but how to apply the crud operations in normal projects
Ôscar
error or anything?
Yes it stays get() retrurn more than one record
Ôscar
I did solve it though
Ôscar
I modified my path converter file
Ôscar
so your slug is not unique
Forget it man you don't get what i mean anyway
Morteza
Ok
NightE
How to add long css class name Like .login-box .user-box In the class attribute for the form
prakash7
any one working with Django rest framework?
Doragonsureiyā
any one working with Django rest framework?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
mr_Cat’s
Hello. Please help me solve the problem: from .users import views ModuleNotFoundError: No module named 'dmitrii.users'
𝚅𝚊𝚖𝚙𝚒𝚛𝚎
Hi buddies 👋 I have a function that I want to run automatically when the web page is refreshed. How should I implement this function?
Kaushal
Hi everyone, how do I get the length of a video uploaded via an API endpoint
Muhammed
George
Which one
the official tutorial for this, its in the django website
Salini
Any one give to do app instructions
Doragonsureiyā
Any one give to do app instructions
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Maxim
Any one give to do app instructions
1. open editor 2. write code 3. save result
Fifiboss
Hello there Is there a way to get entry level Django developer please.
Georgiy
Hello there Is there a way to get entry level Django developer please.
You have to successfully pass the interview and probation
Ak
Hi can anyone say what project i can do with django, i am started learning now
Blood bank app Movie review app Crud app Login and Registration Form
Of course
Hi, İ learnt beginners of Django but İ don't find good advanced course or project base tutorial Can someone introduce me ?
Tanner
Hi can anyone say what project i can do with django, i am started learning now
Instagram, Spotify, Bitbucket, Dropbox - knowing that these use Django should give you enough inspiration 😉
Fifiboss
You have to successfully pass the interview and probation
I mean ''where'' to find these jobs
Doragonsureiyā
Hello there Is there a way to get entry level Django developer please.
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Ilsaf
not fixed yet? https://simpleisbetterthancomplex.com/article/2021/07/08/what-you-should-know-about-the-django-user-model.html#the-username-field-is-case-sensitive
Ousmane
good evening please i want to randomize images in django help me
Jonathan
Hi! Some tutorial to code live score website in Django?
Doragonsureiyā
Hi! Some tutorial to code live score website in Django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Akshay
URGENT Hello everyone, GOAL: To deploy Django+ angular app on a secure connection Angular and django codes are ready. I'm using AWS linux ec2. Angular is serving on secure connection (apache) but django isn't running securely. This is my first software deployment Can anyone please assist me on this or give any direction to process? Thank you for your time and consideration
Damodara
Hi All, how to convert python application into docker? Can someone send me the links and any suggestions on this
Doragonsureiyā
Hi All, how to convert python application into docker? Can someone send me the links and any suggestions on this
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Masoud
hi when i want install reportlab for my django project i have this error: Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata.
Veeresh_Ramachari
In django Admin for a particular traige page i need to have prev record and next record how can i do this ??? Please help me with this any blogs ?
Surya
In django i want to implement user login using api. How to do that? Ideas would be appreciated.
Mirco
Yes
here u go https://github.com/iMerica/dj-rest-auth
Veeresh_Ramachari
No
Mirco
No
don't write in PM
Mirco
No
so explain better
Veeresh_Ramachari
We will be having multiple record for ex 10 in person in grid view in admin When i go in 1st record then i have prev and next show 2nd and3rd instead of going back every time
Veeresh_Ramachari
Shandilya
Hey Everyone, I have started learning Django framework. If I need some help, would you guys plz help me?
Giacomo
Hi guys, i have a simple question. I have a UserProfile model which has a OneToOneRelationship with the default django user model. Now i want create a ModelForm for the UserProfile, which will have both the fields of the Default User plus the fields of Userprofile, so in one submit click i can create a Userprofile and a DefaultUser and link them together I found a solution by handling the two forms separately on the same view, save the two models and then link them together, but it feels to me that im doing something wrong. Is there a better way to handle this? I heard about Formsets maybe?
O'zganbek
I need help
Doragonsureiyā
I need help
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
𝚂𝚘𝚑𝚛𝚎𝚝
Hello. There is price filtering written in JavaScript in the template. I want to take the price range given in this filter with dajngo and write a filtering function. I couldn't because I don't know JavaScript. How will I do? So, i want to write a django function that takes the given start and end values and sorts the products accordingly.
𝚂𝚘𝚑𝚛𝚎𝚝
https://stackoverflow.com/questions/73050041/i-want-to-get-data-from-javascript-with-django
Irfan
How i can validate max length in Integer field
Kh
How i can validate max length in Integer field
models.PositiveIntegerField(validators=[MaxValueValidator(length)])
𝚅𝚊𝚖𝚙𝚒𝚛𝚎
Will it take a long time to run? Or not?
No, it doesn't take long, just a few milliseconds
Adeliya
Hi everyone 🙌 Pls help me , I have a model or table in PostgreSQL which is empty and files where the values for this table is filled in xml file. How I can via parse fill the fields in that table from xml file.
Adeliya
I can do a parsing , and can manipulate data in xml file, but how to fill the table automatically.