Charly
Charly
Le
Hi everyone, i have question. I'm generate model with inspect db
Some table on my database don't exist id column or any indexes. So when i get data with it django response error "Unknown column 'data.id' in 'field list"
Could you have any solution for it.
NOV
set the due date in a column?
Anonymous
Hii everyone,
How can i pass the value with submit of form?
Anonymous
sabari
hi friends I am building blogging website with django.i am using tinymce editor as text editor on my website.it show error like "Failed to upload:the jwt token provider not defined" when I add an image to the blog.can anyone help me to sort it out
Ankit
I’m new to Django and idk js
Ankit
Can i make website in django without js
Ankit
I know only htms css for frontnd
Anonymous
Ankit
Ok bro
Rakesh
Groot
Anyone know how to send mp3 file by view into template ?
Deleted
Hi guys, pls help, got (1071, 'Specified key was too long; max key length is 3072 bytes') error when init mysql database in Django: https://stackoverflow.com/questions/67915186/init-mysql-database-in-django-got-error-django-db-utils-operationalerror-1071
Vetrivel
https://neptune.ai/blog/packaging-ml-models
Vetrivel
Have shared Key Features of Django here
Enigma
Hello Everyone . Please help me with this.
I have some Images in my database and i want to store it in my ImageField in my model.
I tried to use open('path','r') and Image.open('path','r) but in both cases i got _committed error.
Anyone knows How should i do it?
Deepanshu
Deepanshu
And make sure you have made a media file and done necessary changes in settings.py
Enigma
Try ImageField(upload_to = path)
the imagefield part is fine
acctully it works like this :
in my views i got an script that when the page gets open it finds some image urls from other websites , then i download those images and store it in my database
now i want to create a new object in my model that contains that image , but when i try to open the image and then use object.create i got the error
Ankit
Hey i have a question..
i was facing problem in running django-admin command but somehow its done.
(I did it in directory: \pycharmprojects\djangoproject\)
And made a command: django-admin startproject mysite
And it was done ✅.
Now i made another project (testutils) and try to run django-admin command.. it is not running.
Showing error “not recognised as an internal or external command”
What is this? And why it is occurring
Ankit
Dm me if anybody’s up to help me to resolve the issue
Mubtasim
Ckeditor works at my localhost but does't at the server... Does anybody faced that kind of bug?
Ghorz
shashikant
shashikant
https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535
John
Guys is there any plugins for audit logs in Django
John
???
Ankit
Sai
Anonymous
permisi
Magee
Magee:
Hey Arun, here are the positions we discussed:
Sr backend engineer:
4 to 6 yrs. Python (django framework, api dev, data model etc), Mysql, AWS, CI/CD (jenkins). Knowledge of data engg concepts is a plus (in depth not reqd)
Full stack dev:
4 to 6 yrs: React + redux, Python (django framework, api dev, data model etc), Mysql, AWS.
anyone interested ping me or forward profile mari616@gmail.com
Aman Jain
How to write complex logic in DRF
Artsem
Hi. How to create postgresql base on project Django? And where is it be stored?
____Cheems
Hi,
I'm using a free html template in Django
I'm doing all thing like setting up static files in Django
and using load static in html
but after all of this page is not loading properly.
How to solve this ?
Ray of Hope
Andrew
I need help on multiple image uploading
Groot
anyone know how to return none in view function?i am using that view to just append the data in list by url through js
Mirco
Artem
Why do I have wrong time output in database?
My settings.py
LANGUAGE_CODE = 'ru'
TIME_ZONE = 'Europe/Moscow'
USE_I18N = True
USE_L10N = True
USE_TZ = True
My models.py
datetime = models.DateTimeField(auto_now=True, editable=False)
Groot
Mirco
Artem
Artem
R/D
How to format datatime field ?
𝕯aniel
R/D
Its look like: June 10, 2021, 1:13p.m.
But i want 10.06.2021 13:13
𝕯aniel
% value|date:"h m y" %}
R/D
Please explain me generally, I'm stupid
Zikrulloh
Abdulaziz
Hello how i can fix this error
InsuranceCreateView is missing a QuerySet. Define InsuranceCreateView.model, InsuranceCreateView.queryset, or override InsuranceCreateView.get_queryset().
class InsuranceCreateView(LoginRequiredMixin, CreateView):
Insurance_Form = InsuranceForm
template_name = "table/insurance_create.html"
def get_success_url(self):
return reverse('insurance_table')
def form_valid(self, form):
form.instance.author = self.request.user
return super().form_valid(form)
Z
Any site to get frontend templates for practice project?
Abdulaziz
g
✌️
Anonymous
Which is better django or rust?
Process
For me django
Deep rock
import @django
Anonymous
Anonymous
Hello guys I'm new to django and trying to host django website on heroku but showing error
Anonymous
Plz help I wasted a whole day
Michael the wolf 🐺
Deep rock
William
Hello everybody,
I wanted to display the courses handling by a teacher and under that course in which batch that teacher is handling the members. In URL I will be passing teacher ID based on that I have to filter by course.
I have course and batch model separately with a FK relation from batch.
I wanted to display like course -> (under the course batches data should be displayed).
I tried but all the batches under that course is getting displayed which is not what I wanted.
https://pastebin.com/ajF3Y3xq
William
https://pastebin.com/ajF3Y3xq -> Here's a URL that include my code information.
William
I can able to filter by batch model but I wanted to do through course model so that my structure batches will come under a course data.
Артем
hello everybody!
I have some problem. In my site i have form and when i fill it all i have to replace some word in my docx into to fields from my form. BUT , my docx have image in paragraph and in tables, so, if i replace some text and save into new file, i will loose these images. i use python-docx and tried oodocx. Who can give me advise, how its better to do?
and it must be very simple, because its very simple task, but python-docx dont have it
𝕯aniel
Z
Free templates? To work on projects
Артем
amit
Looking for freelance jobs in Django
Mirco