Tony
People are saying it's better to learn flask before moving on to Django how true is this
Mirco
Tony
Oh kk
SatyendraN
G
Anonymous
Hadiv
if you need both django and flask do it. that's awsome
Shekhar
Hi everyone I have a small problem in celery..https://paste.fedoraproject.org/paste/E-rhN459jJYBuliaXIQYrw
cj
Hadiv
false
This ain't javascript, it's python. use False
Давид
Hello! I can not cope with the error. Help me please
https://ibb.co/hsMj1MP
Tony
Orack
no such table: main.auth_user__old
Orack
Orack
Im using django 2.1
Shiva
Guys I have already created a Django project in my server , now I want to create new project , I don't want to show old project to user how to do ???
Shiva
Sander
Master
Find folder with your project and delete it
Sander
Master
Hello! I can not cope with the error. Help me please
https://ibb.co/hsMj1MP
First - try to use path next time, when you create routes. Its a de-facto standard from Django 2+ AFAIK
Second - your dashboard-list-function-change requires(!!!) object.id but in your reverse/template/whatever-generate-this-error you don't supply this object.id value. So router goes bump
Ярик
Hey guys, have a question for you:
i have 2 apps:
1st one is patients table
2nd one is doctors report
there are a model in each one and each model has identical fields:
for patients table:
patient_name = models.CharField(
max_length=100, db_index=True)
card_number = models.PositiveIntegerField()
for doctor report:
card_number = models.PositiveIntegerField()
patient_name = models.ForeignKey(
PatientsTable, on_delete=models.CASCADE, max_length=100, db_index=True)
doctor report patient_name field is a foreignkey to petients model patient name
the question is - how can i make doctor report card_number field autofill in admin with a card_number from patients table depending on which patient i've chosen in doctors report?
Давид
Давид
Sorry, I can’t find in the documentation how to display the id variable while saving it in the admin panel
https://ibb.co/fqcyr6x
Anonymous
How can i link two html files in django?
Anonymous
What better framework is Django or flask?
Alexander
much better question (at least until Django 3.0 release) for trolling needs is "What is better framework Django or Responder?"
Anonymous
Thanks
jang
Implemented github login using 'django-allauth'.
When I log in again, the website will automatically log in to the account I was logged in without asking for information about my github account. So I can not log in with another github account, how can I fix this?
Alexander
Thanks
both Django and Flask are oldstable WSGI frameworks, Django better for bigger projects, Flask for microservices, serverless etc.
modern way of doing things is using API-only server-side framework with ASGI interfaces (like Responder, FastAPI, Starlette etc.), Django will join this list after 3.0 release
Anonymous
Is the third version close
Sander
Alexander
first alpha in September (for testing)
Anonymous
Alexander
Anonymous
Page
Alexander
use 'url' tag in templates if you use them or reverse / reverse-lazy in views
Alexander
but better use Django only for API generation)
Anonymous
Thanks
Anonymous
Can you please explain more
Anonymous
Thanks
Alexander
https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#reverse
Anonymous
Thanks
👍
django chat system example ?
Mirco
Kings Man
Hai friends i want to create Djnago – project set
SQL,MySQL – database connect to Django
Create a page -
“Text box” column and “upload” buttons
CSV File upload ( create a sample file)
Generate graph – based on the repetition of numbers
Please guide me to create it
Otherwise suggest any website to study about it.
Master
@Ka_007
https://docs.djangoproject.com/en/2.2/, especially Tutorial and "Upload user files" part
Master
Generate graph - thats usually front-end task. Look for Highcharts.js for example
Raghad
Could any one help me ?
My html file can’t see the images?
👍
Mirco
👍
👍
settings.py
also check in browser using inspect element
Guero
Ярик
Ярик
Yes, i have just a regular modeladmin in admin.py
Guero
Sorry take out the question. (??)
Mirco
Ярик
ty, I'll try
Claudio
Hi everyone, do you know if there are working external libraries to have a composte primary key in django? (not only unique but also primary key)
Mirco
Ярик
Nedd
Hey everyone, I am facing an issue and I'm at a loss.
Nedd
Ok so I have to make something on django that will take an audio, convert it to an image(I have the code image conversion I just need to know it's implementation), and then saves the image. Also is it possible to convert the data (either audio file or image) to JSON so that it can be sent via API
Nedd
I apologise in advance for any mistakes, if any, in asking the question correctly
Nedd
Thank you
Abhishek
How to implement search function in django
Bedilbek
Maksim
hi!
In base template I pointed: {{user.profile.photo}}
it works.
Maksim
In user_profile template it doesnt work
Maksim
why??