added crud for categories entity

This commit is contained in:
Hosein
2026-01-05 11:55:58 +03:30
parent 7b6c2a3245
commit 8680778584
6 changed files with 338 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
from . import students, teachers, courses, tags
from . import students, teachers, courses, tags, categories
from bot.handlers.start import startMarkup
@@ -8,6 +8,7 @@ def register_all_callbacks(bot):
teachers.register(bot)
courses.register(bot)
tags.register(bot)
categories.register(bot)
# Cancel is common among all
@bot.callback_query_handler(func=lambda call: call.data == 'cancel')