* Adding the base of our API * Little file and lint adjustments * Adding the lint command to Makefile * Adding the Minesweeper logic for game creation * Adding some tests for the Minesweeper algorithm * Adding some tools command to Makefile like pre-commit and pip-tools * Adding test help text to Makefile * all new user is_staff=True, for development for now * Now we can get the data from specific game Adding game status Adding game status Fixing game models
15 lines
299 B
Python
15 lines
299 B
Python
from django.contrib import admin
|
|
from django.urls import path, include
|
|
from django.conf import settings
|
|
|
|
|
|
urlpatterns = [
|
|
path("", include("api.urls")),
|
|
]
|
|
|
|
# We need this only for development purpose
|
|
if settings.DEBUG is True:
|
|
urlpatterns += [
|
|
path("admin/", admin.site.urls),
|
|
]
|