Amir
django.db.utils.NotSupportedError: MariaDB 10.5 or later is required (found 10.4.32).
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
Amir
no im use my sql in setings.py but runing magrstions im give this error
Amir
pleas help me
Amir
idid
𝑵𝒐-𝑩𝒐𝒅𝒚 𝑵𝒐𝒔𝒆
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
Amir
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME':'db_shop', 'USER':'root', 'PASSWORD':'123456777', 'HOST':'localhost', 'PORT':'3306' } }
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
django.db.utils.NotSupportedError: MariaDB 10.5 or later is required (found 10.4.32).
i had the same issue before, i uninstalled mysql and re installed and it worked perfeclty
Amir
no
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
Can you teach me how?
create database 1st
𝚂 𝙷 𝙰 𝙼 𝙼 𝙰 𝚂
open mysql command line -> enter ur password -> CREATE DATABASE (DATABASE_NAME)
Ashika
Anybody please tell me why this error came "WebSocket is already in CLOSING or CLOSED state."
Gaurav
Anybody please tell me why this error came "WebSocket is already in CLOSING or CLOSED state."
In which scenario you're getting this? Try to share some code for ref.
H0scein
hi recently i start using celery but have some issues, need help! i run redis on docker and set it as celery's broker and backend. it seems connect correctly. but when i using .get() to capture result, worker stuck in a definite state. and not return answer. my code is add func in celery doc. and use it in a simple raw python module for testing. anybody have already same issue?!
MOHAMED
We need fastcgi logs
It show 500.0 internal server error <handler>scriptprocessor could not be found in <fastcgi> application configuration
H0scein
Share code
it's done. windows issues, change pool solved it.
Shaik
I think you closed connection. Please use ref object.connect ()
If still issue persists share your code block
@SamahTech
hi, i have some input text tag in my template. i don't know the exact number of my variants from those inputs. i want to show these variants in my template again, something like {{ txt_1}} ... how can i increase the number in {{ txt_? }}. can anyone help me please?
Poya
hi can you explain to me @transaction.atomic what does it do in the code?
Farzad
hi can you explain to me @transaction.atomic what does it do in the code?
if the database fails in any level, whole operation that is in atomic transaction will roll back, no changes will be saved
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
hi can you explain to me @transaction.atomic what does it do in the code?
Think of it like a bank transaction if you're transferring money between accounts, you want to make sure that either both accounts are updated correctly or neither is updated. @transaction.atomic guarantees this kind of all-or-nothing behavior for your database operations.
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
django.db.utils.NotSupportedError: MariaDB 10.5 or later is required (found 10.4.32).
means that your django project is trying to use a feature of MariaDB that is only available in version 10.5 or later.
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
django.db.utils.OperationalError: no such table: accounts_customeruser
run the migrations if it doesnt work run migations for each app python manage.py makemigrations accounts
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
ChatGPT?
nope sometimes google search
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
ChatGPT?
some problems can get better answers just by googling it
Ario
Hello and greetings We have a project in production Logs related to Django's internal loggers such as: django, django.request, django.server They are not displayed when the project is run via Gunicorn. About Gunicorn's own logs, if their loggers (guncorn.access, gunicorn.error) are defined in the Django logging settings, they will be seen. But those related to Django itself are not printed i need help about this i will be thankful for sharing your experience here is my logging setting: https://dpaste.org/Wie7u
Luis
Are there already made ecommerce solutions made with django?
Luis
Yes
Name some examples
Doragonsureiyā
Name some examples
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Luis
I just found code tutorials
Charly
If I havent done that I wouldnt have asked
You clearly didn't do that.
Luis
I wanted something production ready
Charly
I wanted something production ready
https://djangopackages.org/grids/g/ecommerce/
Luis
For building...
Luis
I want something alredy built
Luis
Jus to see it working
Luis
You see in ecommerce there are a lot of variables
𝙄𝙈𝘼𝙉
Hello, my friends, in the user registration section, when I get the information and verify the user, the information is saved in a different location, that is, it goes to the email field, it puts the phone number, and replaces the phone number with the username, and replaces the email with the username. Can anyone help me?
Luis
Like EU vat
Charly
Like EU vat
Click the link I sent
Adam
Hi, how can I prevent someone to copy the token from local storage of browser and paste it in another browser of different device as a backend I use JWT as a authentication
Sam
What`s the best way to deploy Django projects?
Charly
What`s the best way to deploy Django projects?
No best way, it depends on your available server options and your skills
Charly
My host is linux vps
Good, then you can use nginx and gunicorn
JOKER 🤡
How to HOST A Django project for free
Андрей
https://www.pythonanywhere.com
themann
What's the best Django package for tracking site visitors which is actively maintained?
Leon
recently I am working on a medium sized django project. Here I am trying to backup our db because we need to use in other purpose but don want to users access our backend directly. but in this case, some issues are here.... first, defaut value... I set default value for specific field of mysql db table but after backup db, there is no default value...
Kasem
If I want to build map and view shortest path in Django how should I think?
Vs
Hello friends, I have error installing pipenv in django how to solve the error? And I don't know how to set the path and environment variables please help me
Charly
Hello friends, I have error installing pipenv in django how to solve the error? And I don't know how to set the path and environment variables please help me
You don't install pipenv on Django. And we need to know the error. And what path and environment variables do you want to setup?
Rakesh
After login using google (oauth) how to redirect to the home page (desired page)?
Ha 💙
How can I transfer data in db.sqlite3 to db_blog_application in postgresql?
Manish
Can you tell me how to run this command: python manage.py runserver 0.0.0.0:8000
Manish
I am not able access the site remotely as it is giving error as This site can't be reached
Ha 💙
dump data from sqlite and load into postgres
I did this, but the file from the dumpdata process contains only data for the default models such as Auth, .... As for the data of the my models that you built in the models.py file, it does not appear. Why??