23 lines
586 B
Python
23 lines
586 B
Python
from django.apps import AppConfig, apps
|
|
from django.db import models
|
|
|
|
|
|
class HorillaMeetConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "horilla_meet"
|
|
verbose_name = "Horilla Meet"
|
|
|
|
def ready(self):
|
|
from django.urls import include, path
|
|
|
|
from horilla.horilla_settings import APPS
|
|
from horilla.urls import urlpatterns
|
|
from horilla_meet import signals
|
|
|
|
APPS.append("horilla_meet")
|
|
|
|
urlpatterns.append(
|
|
path("meet/", include("horilla_meet.urls")),
|
|
)
|
|
super().ready()
|