implement queue for channel helper
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from django import forms
|
||||
from django.forms import ModelForm
|
||||
from djconfig.forms import ConfigForm
|
||||
|
||||
from bots.models import TelegramBot
|
||||
|
||||
@@ -17,3 +19,10 @@ class BotForm(ModelForm):
|
||||
class Meta:
|
||||
model = TelegramBot
|
||||
exclude = 'owner', 'config_type', 'config_id',
|
||||
|
||||
|
||||
class BotsAppConfigForm(ConfigForm):
|
||||
slug = 'bots'
|
||||
title = 'Bots'
|
||||
|
||||
tmp_uploads_chat_id = forms.CharField(required=True)
|
||||
|
Reference in New Issue
Block a user