Firdavs
Yeganeh
Hi guys 👋
I want to make a list in template that its key and value is variable :
Day[$day] = [$time1, $time2,…]
Is there any suggestions for me?
Thanks alot
Rose
Yeganeh
Pedram
Yeganeh
Macccc
hi guys , Has anyone ever used OpenWisp_ipam? I wanna remove it from my django project .
Macccc
INSTALLED_APPS = [
'openwisp_users',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'cmdb',
'import_export',
'openwisp_ipam',
'reversion',
'admin_auto_filters',
'rest_framework',
'rest_framework.authtoken',
'drf_yasg',
'allauth',
'allauth.account',
'rest_auth',
'django_celery_beat',
'django_celery_results',
]
AUTH_USER_MODEL = 'openwisp_users.User'
Macccc
OperationalError at /admin/login/
no such table: auth_user
Request Method: POST
Request URL: http://10.100.79.101:8000/admin/login/?next=/admin/
Django Version: 3.2.16
Exception Type: OperationalError
Exception Value:
no such table: auth_user
Jimmies San
Anonymous
Rose
User Flier has 1/3 warnings; be careful!
Reason:
useless hello
Rose
User John snow has 1/3 warnings; be careful!
Reason:
don't request DMs, help is provided in the group (rule #9)
Mohsen
I have defined the templatetags folder in the root of the project. How can I access this tag in other apps?
Anonymous
When I submit form and delete 3 data on the form which has been printed on another page with respect to the form, if I delete 3 datas im having a issue like I need to click 3 consecutive time backwards to get to the first page
Dr.Khaled 🇵🇸
Welcome
I want to work on the project that if the user sends a message, an alert comes to the admin on his email, and I did that, but the problem is that when he got to the email, the admin followed the be written from / to the same email, which is the email of the admin
How i can do to by the email from the "user" email to the " admin's email?" by Django?
J
Can anyone send me a source code for doing an ecommerce website..
cj
Rose
User Rishabh has 1/3 warnings; be careful!
Reason:
useless emoji
Vishnu
Am using a post save django receiver signal to send email when an object is created and it's working fine but the problem with that is the api response takes time to complete the send_mail() function which have to avoided. My expected result is object should be created and the response should be send to the respective request but after that only the signal should work which will improve the performance. Is there any way to do that?
Sergio
Vishnu
Rose
User required has 1/3 warnings; be careful!
Reason:
rule #1: speak English
Rose
User Alireza has 1/3 warnings; be careful!
Reason:
totally offtopic
ruthless
How to make chat api using drf
Sergio
How to make chat api using drf
It’s a broad topic but first of all you need to start from session context placeholder, special logical container that will handle users chat history. You can use models with rdb or redis in simple cases. The main challenge is that REST nature is transactional while chat thread is session based thus you need to break this using shared state between http requests. Sometime you don’t need this approach as chat bot looks like a usual website where every topic and sub topics could be url-like path the only thing you will preserve is current user place in url tree. In that case you can use plain user session as a storage for user context.
park seo joon
Please anyone with Django scrash course
DePyraxe
Help guyz why my Django doesn't refresh edited static file
Rose
User M has 1/3 warnings; be careful!
Reason:
here we don't recommend w3schools
Charly
Charly
DePyraxe
Try it
👍 thanks bro let's me try.
DePyraxe
Anonymous
hello, when i want to find the path of my pipenv for vs code with the command [ pipenv --venv ] i get the error that pipenv is not recognized
Anonymous
what should i do?
Rose
what should i do?
Your question is not related to Django.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Ivan
Hello guys
Ivan
How do I create my first project in django
Ivan
After installing it
Ivan
I have read and thats how I managed to install and all that now I want to create my first project
Charly
Ivan
You can as well send me the tutorial and I check it out
Ivan
Charly
Ivan
Charly
ricks
How do I get django remote job guys
David
Hello someone here have experience with uuid in Django, context I add a uuid in a model user(Abstract) but when I apply the migration I have an error of duplicate, users_user_uuid_key but I don't understand that error
Maxim
How do I get django remote job guys
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so delete your question here and move to the @PythonOfftopic group and ask there.
ali
Sahil
I have a dropdown in my django site nev bar which will show top events on click i want it to update latest events from backend how to do
Sahil
How can i refresh a specific div having django variable using ajax
Ramil
Hello everyone, guys, who worked with maps? The task is such that ~ 30,000 thousand points should be displayed on the map. I have several questions about how to cache these points in advance and how to efficiently output points from Postgres (PostGIS). I can give points from the database both by coordinates and by tile.
Jaydip
Alex
ali
How can I customize the django admin panel ??
.
Hello everyone! I'm doing a learning project using django and react. I have an ad model and a photo model with a link to the ad model. This is done because the ad may have a lot of photos. how do I implement the api for creating ads?
ali
Muflone
Anonymous
Husan
Hi, everyone
Could you tell me about how to create dynamic database tables. Our project come .json data and we get it and read every fields and create key and value. Can you give me docs or example code for understanding
Maxim
Rose
User Galaxy has 1/3 warnings; be careful!
Reason:
this is not a job board