implement bots

This commit is contained in:
2019-11-12 20:13:56 +03:00
parent bf76e3c3ed
commit 58806f2103
47 changed files with 10251 additions and 305 deletions

View File

@@ -15,6 +15,12 @@
<span>Feeds</span>
</a>
</li>
<li class="{% if sidebar_section == 'bots' %}nav-active{% endif %}">
<a href="{% url 'cabinet:bots:index' %}">
<i class="fas fa-robot" aria-hidden="true"></i>
<span>Telegram bots</span>
</a>
</li>
<li class="{% if sidebar_section == 'aggregator' %}nav-active{% endif %}">
<a href="{% url 'cabinet:aggregator:index' %}">
<i class="fas fa-copy" aria-hidden="true"></i>

View File

@@ -10,5 +10,6 @@ urlpatterns = [
path('logout/', LogoutView.as_view(), name='logout'),
path('feeds/', include('feeds.urls', namespace='feeds')),
path('aggregator/', include('aggregator.urls', namespace='aggregator')),
path('bots/', include('bots.urls', namespace='bots')),
path('admin/config/<slug>/', AdminConfigView.as_view(), name='admin_config'),
]