Charly
Michael the wolf 🐺
thanks
anrays
Abhi
Kuth
ishaan
has anyone added chart plugins in ckeditor
Doragonsureiyā
has anyone added chart plugins in ckeditor
This is not a Django specific question, please delete your offtopic message.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
ishaan
Text
When creating a user and password for admin in the terminal, it freezes. This happens in every new terminal. How can I fix it?
Farzad
Text
Text
Text
My English is not good, I may not have written some of them correctly, I apologize in advance. (:
Abdullo
Отабек
Hi guys. How i can changed some items in django admin site template
Abdullo
Отабек
how can i host 2 models in one django admin site. their data should be side by side
Константин
ishaan
bidlo
hi, can you help me with this error this error is catch, when i use jazzmin admin panel in my app, and i tried to add something, then i catch this error
TemplateSyntaxError at /admin/api/user/add/
Invalid filter: 'length_is'
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/api/user/add/
Django Version: 5.1
Exception Type: TemplateSyntaxError
Exception Value:
Invalid filter: 'length_is'
Exception Location: /home/alinur/Рабочий стол/first_fullstack_project/backend_python/venv/lib/python3.12/site-packages/django/template/base.py, line 611, in find_filter
Raised during: django.contrib.admin.options.add_view
Python Executable: /home/alinur/Рабочий стол/first_fullstack_project/backend_python/venv/bin/python
Python Version: 3.12.4
Python Path:
['/home/alinur/Рабочий стол/first_fullstack_project/backend_python/python',
'/usr/lib/python312.zip',
'/usr/lib/python3.12',
'/usr/lib/python3.12/lib-dynload',
'/home/alinur/Рабочий '
'стол/first_fullstack_project/backend_python/venv/lib/python3.12/site-packages']
Server time: Fri, 30 Aug 2024 09:41:16 +0000
Mathew
hi, can you help me with this error this error is catch, when i use jazzmin admin panel in my app, and i tried to add something, then i catch this error
TemplateSyntaxError at /admin/api/user/add/
Invalid filter: 'length_is'
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/api/user/add/
Django Version: 5.1
Exception Type: TemplateSyntaxError
Exception Value:
Invalid filter: 'length_is'
Exception Location: /home/alinur/Рабочий стол/first_fullstack_project/backend_python/venv/lib/python3.12/site-packages/django/template/base.py, line 611, in find_filter
Raised during: django.contrib.admin.options.add_view
Python Executable: /home/alinur/Рабочий стол/first_fullstack_project/backend_python/venv/bin/python
Python Version: 3.12.4
Python Path:
['/home/alinur/Рабочий стол/first_fullstack_project/backend_python/python',
'/usr/lib/python312.zip',
'/usr/lib/python3.12',
'/usr/lib/python3.12/lib-dynload',
'/home/alinur/Рабочий '
'стол/first_fullstack_project/backend_python/venv/lib/python3.12/site-packages']
Server time: Fri, 30 Aug 2024 09:41:16 +0000
The filter u are using is invalid
bidlo
11111
Hello everyone
How to create a connection between
JWT and Oauth2
11111
Library: allauth
A
Hi guys how can i make a real time chat website with Django ?
Molecule
A
Use websockets and django-channels
With web sockets i can make a good messenger app ? Because I had heard that Django is not very good for creating a chat program, is this true?
Fofana
good evening overall, I would like help for hosting on the lws server.
Fofana
Maxim
it's django. it's a platform developed in django
hosting issues - offtopic
every respectable hoster has documentation related to Django hosting, if it's not or it's not enough for you, you have to go to @pythonofftopic anyway
don't forget to delete offtopic messages
Никайтос
hello
got some problems with storing my media files into s3 bucket
in a project root there is 'media' folder and app 'core' with directory 'static' in it. in settings it looks like that
STATIC_URL = "static/"
STATIC_ROOT = os.path.join(BASE_DIR, 'core', 'static')
MEDIA_URL = "media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
i'm trying to upload this to my s3 bucket here
# AWS
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')
AWS_STORAGE_BUCKET_NAME = os.environ.get('AWS_STORAGE_BUCKET_NAME', 'dfs-bkt')
AWS_S3_CUSTOM_DOMAIN = f'{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com'
AWS_S3_FILE_OVERWRITE = False
# Static files settings
AWS_STATIC_LOCATION = 'static'
AWS_STATIC_URL_AWS = f"https://{AWS_S3_CUSTOM_DOMAIN}/{AWS_STATIC_LOCATION}/"
# Media files settings
AWS_MEDIA_LOCATION = 'media'
AWS_MEDIA_URL_AWS = f"https://{AWS_S3_CUSTOM_DOMAIN}/{AWS_MEDIA_LOCATION}/"
STORAGES = {
# Media management
"default": {
'BACKEND': 'storages.backends.s3boto3.S3Boto3Storage',
'OPTIONS': {
'location': AWS_MEDIA_LOCATION,
},
},
# Static files management
"staticfiles": {
'BACKEND': 'storages.backends.s3boto3.S3StaticStorage',
'OPTIONS': {
'location': AWS_STATIC_LOCATION,
},
},
}
'static' directory is in my bucket after collectstatic command, but media files aren't. shy is that?
Tanzid
can anyone suggest a tutorial for geo Django..?
никита
Hi, could you tell me how to use middleware not in all views but in selected views?
Wei Xiang
I have a django project. I want to integrate the django with functions from Erpnext like adding a new module. Is that possible?
Charly
Wei Xiang
Is there library needed for that? Also how about the login like using OTP and Azure Directory.
Charly
Priyanshu Pratap
Hey i am using dropdownfilter in django to show the list from the field...but when the data inside field is more than 30 words it shows the list in right side of screen which is not visible properly
Priyanshu Pratap
How can i fix it...anyone please help
clouded
Priyanshu Pratap
It is showing whole text inside textarea
Priyanshu Pratap
Murad
(I'm new to Django, Python,) I've been adding and deleting data in my development (Terminal py manage.py shell/ from members.models import Member/Member.objects.all()values() and in Query set[] then i add members member = Member(firstname='la-la-la') member.save() and django give number id 12 and so on ''''''' and noticed that the id number keeps adding up and never reset to 1 even if I delete all the models. Is it possible to reset the id number to start from 1 before I push this up to the production? Is it a good idea to do that?please help guys!
Maxim
Murad
so let me be very clear i created project and start it 1 create env then 2create app 3 views 4 urls 5 templates 6 models and started work about insert data through (interactive console)
Murad
after adding and deleting some data by shell id number just increased and dont keep them right sorry my English I do hope you comprehend?
Murad
Murad
Jey
Hi people. I've written a Telegram bot in Django. I want to upgrade it to support the telegram mini apps feature but I'm not very experienced with front end development. Would you recommend Django for development of mini apps?
bobus
Jey
How you can relate django and aiogram? :D
I got tired of looking for the 'best' framework for the job and decided to just do the job with what I knew. But now I've done it, I'm exploring how to further improve, hence my request for opinions on Django for mini apps development.
Charly
Charly
I mean, if you decided to not use any telegram library you can start the web app the same way you done (I assume you are calling the telegram apis directly)
Jey
Charly
Wei Xiang
Wei Xiang
I see. But is possible to build django like erpnext. Just want to know the comcept not the technical ya.
Charly
Wei Xiang
Is there online samples?
Charly
Charly
I mean you can try to search for erps made with Django but not sure how helpful it will be for you
Charly
And tbh if you need an ERP but you have bit the capacity to build it, why don't you use a pre made solution?
Wei Xiang
Oh. I was tasked to design django to exhibit erpnext like features. Just a simple one.
Charly
Parag
any free courses for django
Doragonsureiyā
any free courses for django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Nayan
Getting error while deploying app on heroku
No module found crispy_forms
Cmd throws error - heroku run manage.py migrate