Move web app to to the root of the project

This commit is contained in:
Roman Mogylatov 2020-10-04 14:02:58 -04:00
parent f1e4e1ce58
commit 020fe141dd
8 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'githubnavigator.web.apps.WebConfig',
'web.apps.WebConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@ -17,6 +17,6 @@ from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('', include('githubnavigator.web.urls')),
path('', include('web.urls')),
path('admin/', admin.site.urls),
]

View File

@ -5,7 +5,7 @@ from . import views
class WebConfig(AppConfig):
name = 'githubnavigator.web'
name = 'web'
def ready(self):
container.wire(modules=[views])

View File

@ -7,7 +7,7 @@ from github import Github
from githubnavigator import container
class SampleTests(TestCase):
class IndexTests(TestCase):
def test_index(self):
github_client_mock = mock.Mock(spec=Github)