Skip to content

Commit

Permalink
games signals and button deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
webn1nja committed Oct 3, 2024
1 parent cc4359e commit fb6dd59
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 80 deletions.
24 changes: 9 additions & 15 deletions adaptive_hockey_federation/games/apps.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
from django.apps import AppConfig


class GamesConfig(AppConfig):
"""Класс-конфигуратор для приложения games."""

default_auto_field = "django.db.models.BigAutoField"
name = "games"
verbose_name = "Игры"

def ready(self) -> None:
"""Импортирование сигналов для приложения."""
import games.signals # noqa

return super().ready()
from django.apps import AppConfig


class GamesConfig(AppConfig):
"""Класс-конфигуратор для приложения games."""

default_auto_field = "django.db.models.BigAutoField"
name = "games"
verbose_name = "Игры"
60 changes: 0 additions & 60 deletions adaptive_hockey_federation/games/signals.py

This file was deleted.

5 changes: 0 additions & 5 deletions adaptive_hockey_federation/templates/base/drawer.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
{% url 'unloads:unloads' as url_name %}{% include "base/button.html" with name="Выгрузки" %}
</li>
{% endif %}
{% comment %} {% if not request.user.is_agent %}
<li class="nav-item py-2">
{% url 'games:games' as url_name %}{% include "base/button.html" with name="Игры" %}
</li>
{% endif %} {% endcomment %}
</ul>
<button
onclick="toggle_visibility(false);"
Expand Down

0 comments on commit fb6dd59

Please sign in to comment.