init code

This commit is contained in:
2025-07-27 14:46:20 +08:00
parent 7ed8aebb52
commit af36ee48e2
6 changed files with 6 additions and 43 deletions

30
.idea/blog.iml generated
View File

@@ -1,30 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="FacetManager">
<facet type="django" name="Django">
<configuration>
<option name="rootFolder" value="$MODULE_DIR$/myblog" />
<option name="settingsModule" value="myblog/settings.py" />
<option name="manageScript" value="$MODULE_DIR$/myblog/manage.py" />
<option name="environment" value="&lt;map/&gt;" />
<option name="doNotUseTestRunner" value="false" />
<option name="trackFilePattern" value="migrations" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/myblog" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.12 (blog) (2)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="PyDocumentationSettings">
<option name="format" value="PLAIN" />
<option name="myDocStringFormat" value="Plain" />
</component>
<component name="TemplatesService">
<option name="TEMPLATE_CONFIGURATION" value="Django" />
<module version="4">
<component name="PackageRequirementsSettings">
<option name="modifyBaseFiles" value="true" />
</component>
</module>

View File

@@ -1,5 +1,4 @@
from django.urls import path
from . import views
urlpatterns = [

View File

@@ -8,7 +8,6 @@ https://docs.djangoproject.com/en/5.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myblog.settings')

View File

@@ -8,7 +8,6 @@ https://docs.djangoproject.com/en/5.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myblog.settings')

View File

@@ -1,20 +1,13 @@
asgiref==3.9.1
asttokens==3.0.0
bleach==6.2.0
certifi==2025.7.14
charset-normalizer==3.4.2
click==8.2.1
configparser==7.2.0
decorator==5.2.1
Django==5.2.4
executing==2.2.0
gunicorn==23.0.0
h11==0.16.0
idna==3.10
ipython==9.4.0
ipython_pygments_lexers==1.1.1
jedi==0.19.2
Markdown==3.5.2
martor==1.6.45
matplotlib-inline==0.1.7
numpy==2.3.2
packaging==25.0
@@ -22,20 +15,17 @@ pandas==2.3.1
parso==0.8.4
pexpect==4.9.0
prompt_toolkit==3.0.51
psycopg2-binary==2.9.10
psutil==7.0.0
ptyprocess==0.7.0
pure_eval==0.2.3
Pygments==2.19.2
python-dateutil==2.9.0.post0
pytz==2025.2
requests==2.32.4
six==1.17.0
sqlparse==0.5.3
stack-data==0.6.3
traitlets==5.14.3
tzdata==2025.2
urllib3==2.5.0
uv==0.8.3
uvicorn==0.35.0
wcwidth==0.2.13
webencodings==0.5.1

View File

@@ -15,7 +15,7 @@ idna==3.10
ipython==9.4.0
ipython_pygments_lexers==1.1.1
jedi==0.19.2
Markdown==3.5.2
Markdown==3.8.2
martor==1.6.45
matplotlib-inline==0.1.7
numpy==2.3.2