From a59251dae7ca227a8eeb65e54451df3daa648f8a Mon Sep 17 00:00:00 2001
From: Mikan <72257910+Mikan-DS@users.noreply.github.com>
Date: Sun, 22 Nov 2026 01:29:07 +0400
Subject: [PATCH] Initial commit
---
.idea/.gitignore | 8 ++
.../inspectionProfiles/profiles_settings.xml | 6 +
.idea/misc.xml | 7 +
.idea/modules.xml | 8 ++
.idea/novelPlusServer.iml | 30 +++++
.idea/vcs.xml | 6 +
Users/__init__.py | 0
Users/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 161 bytes
Users/__pycache__/admin.cpython-312.pyc | Bin 0 -> 205 bytes
Users/__pycache__/apps.cpython-312.pyc | Bin 0 -> 462 bytes
Users/__pycache__/models.cpython-312.pyc | Bin 0 -> 202 bytes
Users/admin.py | 3 +
Users/apps.py | 6 +
Users/migrations/__init__.py | 0
.../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 172 bytes
Users/models.py | 3 +
Users/tests.py | 3 +
Users/views.py | 3 +
db.sqlite3 | 0
manage.py | 22 +++
novelPlusServer/__init__.py | 0
.../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 171 bytes
.../__pycache__/settings.cpython-312.pyc | Bin 0 -> 2623 bytes
.../__pycache__/urls.cpython-312.pyc | Bin 0 -> 1046 bytes
.../__pycache__/wsgi.cpython-312.pyc | Bin 0 -> 675 bytes
novelPlusServer/asgi.py | 16 +++
novelPlusServer/settings.py | 125 ++++++++++++++++++
novelPlusServer/urls.py | 22 +++
novelPlusServer/wsgi.py | 16 +++
29 files changed, 284 insertions(+)
create mode 100644 .idea/.gitignore
create mode 100644 .idea/inspectionProfiles/profiles_settings.xml
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/novelPlusServer.iml
create mode 100644 .idea/vcs.xml
create mode 100644 Users/__init__.py
create mode 100644 Users/__pycache__/__init__.cpython-312.pyc
create mode 100644 Users/__pycache__/admin.cpython-312.pyc
create mode 100644 Users/__pycache__/apps.cpython-312.pyc
create mode 100644 Users/__pycache__/models.cpython-312.pyc
create mode 100644 Users/admin.py
create mode 100644 Users/apps.py
create mode 100644 Users/migrations/__init__.py
create mode 100644 Users/migrations/__pycache__/__init__.cpython-312.pyc
create mode 100644 Users/models.py
create mode 100644 Users/tests.py
create mode 100644 Users/views.py
create mode 100644 db.sqlite3
create mode 100644 manage.py
create mode 100644 novelPlusServer/__init__.py
create mode 100644 novelPlusServer/__pycache__/__init__.cpython-312.pyc
create mode 100644 novelPlusServer/__pycache__/settings.cpython-312.pyc
create mode 100644 novelPlusServer/__pycache__/urls.cpython-312.pyc
create mode 100644 novelPlusServer/__pycache__/wsgi.cpython-312.pyc
create mode 100644 novelPlusServer/asgi.py
create mode 100644 novelPlusServer/settings.py
create mode 100644 novelPlusServer/urls.py
create mode 100644 novelPlusServer/wsgi.py
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 0000000000000000000000000000000000000000..527624adfc188dd33666273cf6bc80c6ee73c4c0
GIT binary patch
literal 161
zcmX@j%ge<81V>UXrh@3lAOanHW&w&!XQ*V*Wb|9fP{ah}eFmxd<=|`;6Iz^FR2<`*
znVpyy6Hu9)kyw-)P?VpQnp{#Glb2tXniG&yS{$5ORF+xKEC3}PDYXCq
literal 0
HcmV?d00001
diff --git a/Users/__pycache__/admin.cpython-312.pyc b/Users/__pycache__/admin.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..234adfdb734c066914637cb999bb9b238c2e893e
GIT binary patch
literal 205
zcmX@j%ge<81V>UXraA%X#~=<2FhLog1%Qm{3@HpLj5!Rsj8Tk?43$ip%r8OGnvAzt
z6H{_C^ZYcKZtm}#sl@w(r6)^)9tYr8MQuoW&*(xTqIJKxa#y2xNF)t>d
zGC3o$C^w)eKPxr4q&OxozbrK;Ag8oAIJKxOwFs&fY_wiMY5S_gbiTMzTB4}qLTyvE+5`+-Z$`BBn<6v2{o0z!w;chN)c0zuDR{0I$
zPqEQ199UV|3DG8%yLaalGjDd@8+P7nqfrGFhwPm_srsp#|FBE2JWyZ`6e!{lAP*rh
z;2fwi18Oq#Vir8lNG-?y(v5?%^>!S0qHr)8_KR_mQQ0iF6_^794^i+8iae7Vo|T%8
zmDR2!6S5HB@6j;{hmlLK-5{cjOShd&qO%d>G_!MJ*Rit-#vut9##t3(#Y?!xb&T&4
z!pljMvH?l>1QWFY5AqF`o;|}-|7z9h9Q*l3|6+7YLcf>xZ-@wbA{w*)MEYSgWxU4|
zdCA0-iIPj=Sh{g4v|D+y6p#&-X0X^jdb4&GwdTXA&@cJC>zG-syh@9O_OFoFHOh$_
j3au)w;*=AysakEF)V6(_2%!(y|5-E8)}!+as^qFa)x>uT
literal 0
HcmV?d00001
diff --git a/Users/__pycache__/models.cpython-312.pyc b/Users/__pycache__/models.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..19795ad6b5f4f5e18ec675092ef02e4ad9a3103d
GIT binary patch
literal 202
zcmX@j%ge<81V>UXrrH4M#~=<2FhLog1%Qm{3@HpLj5!Rsj8Tk?43$ip%r8OGnvA#D
za`RJCbBg^mnQn2WWF_XM=j){;6)^)PS2BDCsrhB+Y!wq)oLW>I#F7i$RPJ
P%#4hT_ZVb~*nk`W8W}Z1
literal 0
HcmV?d00001
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 0000000000000000000000000000000000000000..317d5b9351c07c711b28f1b46ad41386cf21c015
GIT binary patch
literal 172
zcmX@j%ge<81V>UXrh@3lAOanHW&w&!XQ*V*Wb|9fP{ah}eFmxd2KczG$)vkyYXf`7d7lRldnHd=wihP@6Iz^FR2<`*
znVpyy6Hu9)kyw-)P?VpQnp{#Glb2tXniG&yS{$5ORF+zV!HJmtkIamWj77{q763CfE$aXP
literal 0
HcmV?d00001
diff --git a/novelPlusServer/__pycache__/settings.cpython-312.pyc b/novelPlusServer/__pycache__/settings.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..34503806329d99f13ee1f76f5b11483f1eaf00b2
GIT binary patch
literal 2623
zcmb7GOK;mo5GM70TUM0Bc@$8Zhpn`sns*u`X=#ae)aX@Hj$6VgL1|a=IuxmJsW|3I
z_g;Ey4mssk^r!SI2HZ~%p^D8sZ_O)xnU-#3H2oP?Yif^**m#DGOxMsians}?k!7r5LoqSR
zG`2JI$hEzqpbpV8)Km;}q&c7IQ9#R#z;AM2aM!?k39vi5fipw{Hyy_x!}%=0qnEK$JhotQ*r#MqzOi_TrE?VU<1X1S+7T
zYh2!a{D&$vT3jBM#{_RpsNSB6MS-MF#=*lL@=2O*fle4sA7Y%sN#pV`trJ$aK5__^
zG@ooL%_q<#+;>Zc(!tfP(+zaOE5!7#8MP94B4sjfol
zmTn*!1`a{4JGY5=)5%EB#3JbsRdG7y@lZoItOrL$Die)#dYuy1+UCZA{Z~h|A9he}
z6ypKF*GC1Y^g7re&BF+OtX=6*+q+uNTS0g&Kquv_Pe!ni$&QY&O1VYShECI$2v$)g
zd(sZdGE96~wu4=mt14+2UP!GSl4WNWIeY_CU44e_Ko`c1X4;`eUKE@gwXm_!Ys9tyHUZd3B|f
zuU3}qa9t?ZN_<@q?c|!cTy*qH#XRp+lpQYcb>49++H?GB{h?grMRBdVQjj0>r6LHc
zP>AsoUs+z|mjyXrEeHTuEDN$!g^~%aLcqnVcPe(kq3RMuUI*m7TdLEKQu@%i50dV83dScyzk#jruy->kx
z`+jc{bo{Q)X(l|glavNt57>p=O>J`X?c`=)B!E2A7!Gxqf^vHro&HMQ8e<
ZJqSK9h%t$i5O9P!adVeR85bcZ{{kfYZU+DW
literal 0
HcmV?d00001
diff --git a/novelPlusServer/__pycache__/urls.cpython-312.pyc b/novelPlusServer/__pycache__/urls.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..5ff5e10fa79d1adf1cd0ad0bcce151cfcee78884
GIT binary patch
literal 1046
zcmb7Dzi-n(6h1rd4;V_h(Cjo39(sXVq$Amv2^0jKcrBE1Si>k@9Ft_-}~OZ&l?*q(B~8WLasId_->r~
zIF)fW(8dB_&OUZNGT$i
zJcLOs6%;&EL_&=wq2h2Blb6zmT@6LKATVYcm6rHvLXad-5)!&lpNUeb41)mkNcwn+
z*qGPlB2ELsf*t>6pm-WbGBC-3E-wT3!7D^HmJHo)#-f6HQMLfR<-_|JL&RWAQ!Z2p
z;Ye@_>3oRNv-UUYcEJ`vQv#}PTsApO;ldkpIFNA@b
ziXM;2C2bFmDk;NKu5ui{5xgc@<#q~D{+aDj!pDIYu&&fHfdaSXdF~H$Gd(L`L72u&
z8;()@^=jb;PrUVfZ8+5TV>rw=D@wW(CE_EY7YO9dC7!~pQ0~ZBk=!xF^XAepKY%k+
z>%6-c4h|#{a_~5Qf!Lrok0waaUU|>u;KBm@;TvE-ou9AYp&VxkxhFO?tfe2htzRb%
v%d$@GEz9`{fpz^GxOTbr&%mBy?NI9nm90=8f
zl0>o*hesSN1sPKnU$g{GfRS#OrYVmjYGNt6UCXy+)e@hVS+>5j|1;_K5nCev*kXR
zFnClIq|WZl
z4Ed3r!_VoJYX!3+h;gi>$UF;V(4!-6veGr>4``Y@JKuV~*4fvfbY~}iO+}|Ui3U_9
z&Dqj*=Z25}>Ri%KC+CY#XS;u<%9hstE2OLT_~T-X|2jonnBGO$`-L8VN6uUC*!zlB
b&d|!~s()JD{(@foDBu5FesEk;w=L)&{M5^c
literal 0
HcmV?d00001
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()