Mirco
great so you don't know what a Django validator is
Mirco
so please could u study it on Django docs ?
Mirco
I've provided u the link this morning
Mirco
trust me after you have studied it, your goal will be much easier
Anonymous
I am trying to understand the database models in django.
I wanna create a TodoList application which contains many todolists and many items in those lists.
I added models and added foreign keys but don't know how to add a new item/todo to a new list. Any references ?
Mirco
Alex
Mirco
Anonymous
https://pastebin.com/u/bhuvanbk
Mirco
Mirco
if you don't know how to create model's instances, study again Django basics from docs tutorials
Anonymous
List1 -
item1
item2
List2 -
item1
item2
I've created 2 models classes one for List and one for Item and connected them with Foreign Key. When I create an instance of List How do I add an Item in it.
Mirco
Mirco
spend time to understand
Anonymous
Ohk
Thanks
Mirco
Ohk
Thanks
you can find on official docs how to create related objects
Mirco
Ohk
Thanks
and think better about models, are sure ForeignKey is enough ?
the same item can appear into other lists
Anonymous
Utsho Sadhak
I created a sign up page for my website
When I first go to the sign up page it show me the character of password but I want it will be shown only when user did not give the right kind of password.
How to fix this problem?
Utsho Sadhak
Anyone ??
عــمــر
Mahammadhusain
How to change value of booleanfield (True/False) with button click with Django??
Utsho Sadhak
Utsho Sadhak
Utsho Sadhak
Abdulloh
Hello
I can't get image url from this webpage:
https://makromarket.uz/products/cai-taskentskii-granuly-i-listya-250g-8wz
can anyone help me?
Rony
I have a simple question. What is best? Aws or heroku to deploy a Django project? I never used aws. Is it good?
Mirco
Rohan
Rohan
But it’ll require some level of system administration and management
Rohan
If your application is small on target audience and you lack DevOps experience, go for heroku
Rony
Rony
It’s job purpose.
Rohan
Rony
But some job circular ask for aws that’s why I was interested
..
..
If your apps is small you should prefer pythonanywhere for hosting
Rony
Rony
Azar
Hi
I wanna make action in admin django to export to pdf.
Could u please send me tutorial about it???
purva
anyone configured logstash in Django, Is it mandatory to provide database_path parameter?
Azar
Sumit
I made one model and register with admin.py but when open in browser admin panel and open that model its showing error
Anonymous
Anonymous
Ismail
hello
I want to add two models into DetailView Class
how i can do it?
Shubham
django.db.utils.IntegrityError: FOREIGN KEY constraint failed
sheikh
Mirco
Shivam
can we do calculation on aggregate function?? Like this
monthly = pra.aggregate(Avg('totalBuses')/10000 - 23)
Shivam
???
Mirco
Feisal
Hey guys looking for a python/django, js/angular gig, contract or full time job..i have over 3 years industry experience. will send my cv and works on request. Thank You
Ujjwal
I want to integrate ml model in my django app .any good resource ???
Abhishek
Anyone did?, add one more field in User model.
Abhishek
Thanks
Abhishek
But this not work for me i already use one-to-one Field..
Abhishek
Have you add field in user?
Abhishek
Abhishek
Abhishek
Okay, but project in mid stage, so this is good approach to work with custom user model when already set existing user
Yuvraj
'IntegerField' object has no attribute 'is_hidden'
Mirco
Mirco
garrip91
How can I add Django to my operating system environment variables (I am using Windows 10)?
Rangarajan
garrip91
garrip91
@LAbef My CMD-command "django-admin startproject ..." doesn't work
Anonymous