Tony
People are saying it's better to learn flask before moving on to Django how true is this
Tony
Oh kk
Hadiv
People are saying it's better to learn flask before moving on to Django how true is this
Spending twice as much time learning is definately beneficial. But spend it on learning two diffrent things learning flask to learn django is a little stupid
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
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
Orack
no such table: main.auth_user__old
Orack
no such table: main.auth_user__old
is this some bug in django ?
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
Remove the routes to that project?
I don't know about server , we have person who is handling server , please tell me what should he do
Master
Find folder with your project and delete it
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
What better framework is Django or flask?
you ask about it in Django group 😊
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
Alexander
Is the third version close
https://code.djangoproject.com/wiki/Version3.0Roadmap
Alexander
first alpha in September (for testing)
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
Alexander
Can you please explain more
https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#url
Anonymous
Thanks
Alexander
https://docs.djangoproject.com/en/2.2/ref/urlresolvers/#reverse
Anonymous
Thanks
👍
django chat system example ?
Mirco
django chat system example ?
Study Django Channels
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?
Raghad
check static root
How can i check it
Mirco
👍
settings.py
also check in browser using inspect element
Ярик
Yes, i have just a regular modeladmin in admin.py
Guero
Sorry take out the question. (??)
Mirco
Sorry, didn't get the question
Do you know what signals are ?
Ярик
Do you know what signals are ?
No I don't , that's why i asked for help
Guero
No I don't , that's why i asked for help
https://stackoverflow.com/questions/36443245/override-save-method-of-django-admin
Ярик
ty, I'll try
Guero
ty, I'll try
Ok, let us kwnon ir Works.
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
No I don't , that's why i asked for help
Check them on official docs 😊
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
Maksim
hi! In base template I pointed: {{user.profile.photo}} it works.
Maksim
In user_profile template it doesnt work
Maksim
why??