S
S
SamSatt2022-03-11 18:55:49
Python
SamSatt, 2022-03-11 18:55:49

How to link django admin panel to telegram bot?

How can I let's change the text, make a database in the django admin panel. Well, in general, how to bind django to a tg bot, then I'll figure it out myself. I searched in Google, if I don’t know how to search, if there are no norms for tutorials. Tell me plz

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Nesterov, 2022-03-11
@SamSatt

I searched in Google, if I don’t know how to search, if there are no norms for tutorials. Tell me plz

Judging by the current question, you yourself do not fully understand what you want, or, due to poor knowledge of django, you cannot formulate a technical specification.
First, formulate the task more specifically, for example:
When you enter the /cars command, the bot should send a list of cars.
Next, break the task into sub-items:
  1. The bot sees the command;
  2. The bot makes a request to the server;
  3. The server generates a sample;
  4. The server gives the data;
  5. Bot receives data;
  6. The bot generates a beautiful list;
  7. The bot sends a message;

After that - gradually implement the tasks - if you have at least some knowledge on the topic, it will be easy to do this or google it correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question