Oui
in DATABASES 'OPTIONS': {'charset': 'utf8mb'}
Oui
And i have only mysql server 8.0, not 6.1. C:\Program Files\MySQL\MySQL Server 8.0\share\charsets . Why is Django looking for C:\\Program Files\\MySQL\\MySQL Server 6.1\\share\\charsets\\) 😟
Виктор
In Sqlite 3 migrate works?
Виктор
Mysql settings utf8 on?
Oui
Its all right?
Leo
Ah shit. Here we go again
Mirco
Could u avoid this kind of questions please ?
Bunty chhatri wala..
??
Mirco
Post it into @python
It's not related to Django
Oui
Dextroleav
I need some help
Dextroleav
I m making a book store , and i created 3 views buy,my_orders,cart. Lets say i bought 2 books and then when i click on my_products it shows me both the books but for 2 times, i.e total product in my_product is 4 instead of 2
Dextroleav
I need help plz anyone
Master
Check how you save your orders. Do your books and orders have an unique IDs? If so, do you save your orders twice? Anyway, without code we can give you some guesses, but thats max
Dextroleav
Dextroleav
How can i post the pics here
Dextroleav
Master
Don't post pictures here. Use pastebin services like https://pastebin.com/
Master
Or put your project on gihub and share link. I doubt you have a commercial restrictions now
Dextroleav
Ok i will give u the github link
Oui
cj
Oui
It works!
Виктор
Good job
Orack
+1
Orack
i also need that
Orack
w8 not this
Orack
can u share ur models and what value u need to modify
Orack
ithink u will need to get that bilanco object from database and update the value
Orack
ie keep a seprate instance for bilanco
Orack
daym
Orack
Im moving to flask it feels super easy for api If i keep on learning django at this pace it will tak more than a decade ;-;
Mirco
Orack
is it stable ?
Mirco
Mirco
Mirco
the only difference is the wideness of the community
Adil
Hi, guys! I'm having a little problem with Django especially with setting the path for templates. Could u help me, please? I can post a screenshot of the problem if needed
Dextroleav
Adil
Ok, ill send it to ur account here is not allowed to share media
Dextroleav
Ok
Jorge Luis
Anyone can show me a snippet of Django with PayPal, MasterCard or other online payments methods
Anonymous
hi,everybody) why the Django Template Language does not work) That is, I added the item but does not show on the site) f.e {% extends "base.html" %}
{% block content %}
<h2>main</h2>
{% for item in items %}
{{ item }}
{% endfor %}
{% endblock content %}
Muflone
Anonymous
Muflone
from where you use the template
Anonymous
Muflone
what have you passed to the template and how?
Muflone
ok
Artem
Hi guys! I configured Django to work with Apache. If I run Django from virtualenv it works well, but when I run it throgh Apache I get error "SQLite 3.8.3 or later is required (found 3.7.17)"
Artem
Why Apache don't see new sqlite3 version?
Rajat
How to create triggers And stored procedures from models?
Anonymous
Rajat
It is equivalent right?
Rajat
And anyone have a guide to deploy machine learning models with django and restframework specifically a guide to searializers
Stenly
Hello, a question on DRF. Tell me, how to edit an existing entity and create a new one within one transaction?
Sacs
PermissionError at /
[Errno 13] Permission denied: '/data/data/com.termux/files/home/sacs/templates/index.html'
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 3.0
Exception Type: PermissionError
Exception Value:
[Errno 13] Permission denied: '/data/data/com.termux/files/home/sacs/templates/index.html'
Exception Location: /data/data/com.termux/files/usr/lib/python3.8/site-packages/django/template/loaders/filesystem.py in get_contents, line 23
Python Executable: /data/data/com.termux/files/usr/bin/python
Python Version: 3.8.0
Python Path:
['/data/data/com.termux/files/home/sacs',
'/data/data/com.termux/files/usr/lib/python38.zip',
'/data/data/com.termux/files/usr/lib/python3.8',
'/data/data/com.termux/files/usr/lib/python3.8/lib-dynload',
'/data/data/com.termux/files/usr/lib/python3.8/site-packages']
Server time: Sun, 15 Dec 2019 06:44:37 +0000
Sacs
Who can help me out
Sacs
Am trying to load my home page
But its saying permission denied
Eric
Eric
But you can see the error in the Traceback: the process running Django doesn't have permission to access that template file. Look into which user owns the directory that contains that template as well as which user is running the Django process
Sacs
Sacs
I.e the dpaste
Sacs
Eric
https://gist.github.com
and
https://dpaste.org/
Sacs
I.e the termix owns it
Sacs
Eric
I.e the termix owns it
It is a permission issues, make sure the user has permissions to access that directory, and the files inside the directory. Because right now Django is telling you that it doesn't have permissions
Sacs
Bunty chhatri wala..
How to create a view that shows user specific data..
Means a todo app which have login system..
And User1 has posted his todo
And User2 has posted something
Then whatever they have posted must be shown to them.. not everyone on the website..