commit a59251dae7ca227a8eeb65e54451df3daa648f8a
Author: Mikan <72257910+Mikan-DS@users.noreply.github.com>
Date: Sun Nov 22 01:29:07 2026 +0400
Initial commit
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..105ce2d
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..f31f1eb
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..d176f6d
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/novelPlusServer.iml b/.idea/novelPlusServer.iml
new file mode 100644
index 0000000..191ae52
--- /dev/null
+++ b/.idea/novelPlusServer.iml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Users/__init__.py b/Users/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/Users/__pycache__/__init__.cpython-312.pyc b/Users/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000..527624a
Binary files /dev/null and b/Users/__pycache__/__init__.cpython-312.pyc differ
diff --git a/Users/__pycache__/admin.cpython-312.pyc b/Users/__pycache__/admin.cpython-312.pyc
new file mode 100644
index 0000000..234adfd
Binary files /dev/null and b/Users/__pycache__/admin.cpython-312.pyc differ
diff --git a/Users/__pycache__/apps.cpython-312.pyc b/Users/__pycache__/apps.cpython-312.pyc
new file mode 100644
index 0000000..a980aaf
Binary files /dev/null and b/Users/__pycache__/apps.cpython-312.pyc differ
diff --git a/Users/__pycache__/models.cpython-312.pyc b/Users/__pycache__/models.cpython-312.pyc
new file mode 100644
index 0000000..19795ad
Binary files /dev/null and b/Users/__pycache__/models.cpython-312.pyc differ
diff --git a/Users/admin.py b/Users/admin.py
new file mode 100644
index 0000000..8c38f3f
--- /dev/null
+++ b/Users/admin.py
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/Users/apps.py b/Users/apps.py
new file mode 100644
index 0000000..c320a49
--- /dev/null
+++ b/Users/apps.py
@@ -0,0 +1,6 @@
+from django.apps import AppConfig
+
+
+class UsersConfig(AppConfig):
+ default_auto_field = 'django.db.models.AutoField'
+ name = 'Users'
diff --git a/Users/migrations/__init__.py b/Users/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/Users/migrations/__pycache__/__init__.cpython-312.pyc b/Users/migrations/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000..317d5b9
Binary files /dev/null and b/Users/migrations/__pycache__/__init__.cpython-312.pyc differ
diff --git a/Users/models.py b/Users/models.py
new file mode 100644
index 0000000..71a8362
--- /dev/null
+++ b/Users/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
diff --git a/Users/tests.py b/Users/tests.py
new file mode 100644
index 0000000..7ce503c
--- /dev/null
+++ b/Users/tests.py
@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.
diff --git a/Users/views.py b/Users/views.py
new file mode 100644
index 0000000..91ea44a
--- /dev/null
+++ b/Users/views.py
@@ -0,0 +1,3 @@
+from django.shortcuts import render
+
+# Create your views here.
diff --git a/db.sqlite3 b/db.sqlite3
new file mode 100644
index 0000000..e69de29
diff --git a/manage.py b/manage.py
new file mode 100644
index 0000000..20b092f
--- /dev/null
+++ b/manage.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+"""Django's command-line utility for administrative tasks."""
+import os
+import sys
+
+
+def main():
+ """Run administrative tasks."""
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'novelPlusServer.settings')
+ try:
+ from django.core.management import execute_from_command_line
+ except ImportError as exc:
+ raise ImportError(
+ "Couldn't import Django. Are you sure it's installed and "
+ "available on your PYTHONPATH environment variable? Did you "
+ "forget to activate a virtual environment?"
+ ) from exc
+ execute_from_command_line(sys.argv)
+
+
+if __name__ == '__main__':
+ main()
diff --git a/novelPlusServer/__init__.py b/novelPlusServer/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/novelPlusServer/__pycache__/__init__.cpython-312.pyc b/novelPlusServer/__pycache__/__init__.cpython-312.pyc
new file mode 100644
index 0000000..e37f60b
Binary files /dev/null and b/novelPlusServer/__pycache__/__init__.cpython-312.pyc differ
diff --git a/novelPlusServer/__pycache__/settings.cpython-312.pyc b/novelPlusServer/__pycache__/settings.cpython-312.pyc
new file mode 100644
index 0000000..3450380
Binary files /dev/null and b/novelPlusServer/__pycache__/settings.cpython-312.pyc differ
diff --git a/novelPlusServer/__pycache__/urls.cpython-312.pyc b/novelPlusServer/__pycache__/urls.cpython-312.pyc
new file mode 100644
index 0000000..5ff5e10
Binary files /dev/null and b/novelPlusServer/__pycache__/urls.cpython-312.pyc differ
diff --git a/novelPlusServer/__pycache__/wsgi.cpython-312.pyc b/novelPlusServer/__pycache__/wsgi.cpython-312.pyc
new file mode 100644
index 0000000..53d5274
Binary files /dev/null and b/novelPlusServer/__pycache__/wsgi.cpython-312.pyc differ
diff --git a/novelPlusServer/asgi.py b/novelPlusServer/asgi.py
new file mode 100644
index 0000000..7fe8f59
--- /dev/null
+++ b/novelPlusServer/asgi.py
@@ -0,0 +1,16 @@
+"""
+ASGI config for novelPlusServer 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/5.0/howto/deployment/asgi/
+"""
+
+import os
+
+from django.core.asgi import get_asgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'novelPlusServer.settings')
+
+application = get_asgi_application()
diff --git a/novelPlusServer/settings.py b/novelPlusServer/settings.py
new file mode 100644
index 0000000..1dfa96b
--- /dev/null
+++ b/novelPlusServer/settings.py
@@ -0,0 +1,125 @@
+"""
+Django settings for novelPlusServer project.
+
+Generated by 'django-admin startproject' using Django 5.0.2.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/5.0/topics/settings/
+
+For the full list of settings and their values, see
+https://docs.djangoproject.com/en/5.0/ref/settings/
+"""
+
+from pathlib import Path
+
+# Build paths inside the project like this: BASE_DIR / 'subdir'.
+BASE_DIR = Path(__file__).resolve().parent.parent
+
+
+# Quick-start development settings - unsuitable for production
+# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
+
+# SECURITY WARNING: keep the secret key used in production secret!
+SECRET_KEY = 'django-insecure-=g$_bc8f)qf49#i=p%qn2w%an!igb(zc&5($7%i1c^d)bxer)$'
+
+# SECURITY WARNING: don't run with debug turned on in production!
+DEBUG = True
+
+ALLOWED_HOSTS = []
+
+
+# Application definition
+
+INSTALLED_APPS = [
+ 'django.contrib.admin',
+ 'django.contrib.auth',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sessions',
+ 'django.contrib.messages',
+ 'django.contrib.staticfiles',
+ 'Users.apps.UsersConfig',
+]
+
+MIDDLEWARE = [
+ 'django.middleware.security.SecurityMiddleware',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.common.CommonMiddleware',
+ 'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
+]
+
+ROOT_URLCONF = 'novelPlusServer.urls'
+
+TEMPLATES = [
+ {
+ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
+ 'DIRS': [BASE_DIR / 'templates']
+ ,
+ 'APP_DIRS': True,
+ 'OPTIONS': {
+ 'context_processors': [
+ 'django.template.context_processors.debug',
+ 'django.template.context_processors.request',
+ 'django.contrib.auth.context_processors.auth',
+ 'django.contrib.messages.context_processors.messages',
+ ],
+ },
+ },
+]
+
+WSGI_APPLICATION = 'novelPlusServer.wsgi.application'
+
+
+# Database
+# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': BASE_DIR / 'db.sqlite3',
+ }
+}
+
+
+# Password validation
+# https://docs.djangoproject.com/en/5.0/ref/settings/#auth-password-validators
+
+AUTH_PASSWORD_VALIDATORS = [
+ {
+ 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
+ },
+]
+
+
+# Internationalization
+# https://docs.djangoproject.com/en/5.0/topics/i18n/
+
+LANGUAGE_CODE = 'en-us'
+
+TIME_ZONE = 'UTC'
+
+USE_I18N = True
+
+USE_TZ = True
+
+
+# Static files (CSS, JavaScript, Images)
+# https://docs.djangoproject.com/en/5.0/howto/static-files/
+
+STATIC_URL = 'static/'
+
+# Default primary key field type
+# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
+
+DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
diff --git a/novelPlusServer/urls.py b/novelPlusServer/urls.py
new file mode 100644
index 0000000..9f99a00
--- /dev/null
+++ b/novelPlusServer/urls.py
@@ -0,0 +1,22 @@
+"""
+URL configuration for novelPlusServer project.
+
+The `urlpatterns` list routes URLs to views. For more information please see:
+ https://docs.djangoproject.com/en/5.0/topics/http/urls/
+Examples:
+Function views
+ 1. Add an import: from my_app import views
+ 2. Add a URL to urlpatterns: path('', views.home, name='home')
+Class-based views
+ 1. Add an import: from other_app.views import Home
+ 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
+Including another URLconf
+ 1. Import the include() function: from django.urls import include, path
+ 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
+"""
+from django.contrib import admin
+from django.urls import path
+
+urlpatterns = [
+ path('admin/', admin.site.urls),
+]
diff --git a/novelPlusServer/wsgi.py b/novelPlusServer/wsgi.py
new file mode 100644
index 0000000..78ac299
--- /dev/null
+++ b/novelPlusServer/wsgi.py
@@ -0,0 +1,16 @@
+"""
+WSGI config for novelPlusServer project.
+
+It exposes the WSGI callable as a module-level variable named ``application``.
+
+For more information on this file, see
+https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/
+"""
+
+import os
+
+from django.core.wsgi import get_wsgi_application
+
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'novelPlusServer.settings')
+
+application = get_wsgi_application()