mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
4 years ago
3 changed files with 32 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
from django.apps import AppConfig |
|||
|
|||
|
|||
class UtilsConfig(AppConfig): |
|||
default_auto_field = 'django.db.models.BigAutoField' |
|||
name = 'sigi.apps.contatos' |
|||
label = 'contatos' |
|||
verbose_name = 'Contatos' |
@ -0,0 +1,8 @@ |
|||
{% load i18n %} |
|||
<h3>{% blocktranslate with filter_title=title %} By {{ filter_title }} {% endblocktranslate %}</h3> |
|||
<ul> |
|||
{% for choice in choices %} |
|||
<li{% if choice.selected %} class="selected"{% endif %}> |
|||
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}"><i class="small {% if choice.selected %}bi-check2-circle text-success{% else %}bi-circle{% endif %}"></i> {{ choice.display }}</a></li> |
|||
{% endfor %} |
|||
</ul> |
@ -0,0 +1,16 @@ |
|||
""" |
|||
ASGI config for sigi project. |
|||
|
|||
It exposes the ASGI callable as a module-level variable named ``application``. |
|||
|
|||
For more information on this file, see |
|||
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ |
|||
""" |
|||
|
|||
import os |
|||
|
|||
from django.core.asgi import get_asgi_application |
|||
|
|||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sigi.settings') |
|||
|
|||
application = get_asgi_application() |
Loading…
Reference in new issue