Skip to content
Advertisement

Tag: python

sqlite3.OperationalError: ambiguous column name: views

Help! I try to update the select statement but it seems to not work here So, let me introduced my table Artists and Songs Note:I already inserted these table yet and, this is where I update SELECT statement and cause me an error This is the error So I decided to change from views to Songs.views and, it still gave

Cyrillic symbols in SELECT query PostgreSQL

I have a telegram bot (Aiogram, Python), which is connected to PostgreSQL database. If user enters a some username (in Cyrillic, Russian or Ukrainian), bot should return full information about this user, stored in database. The problem is: when bot making query to the database, with username for example “Сергій”, it returns nothing, although information exists in database. I found

Model hierarchy in Django [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question Sorry for the long text Models are given: User Hierarchy class Hierarchy (Model): There are users, they can invite each

Advertisement