Skip to content

Commit 18de6ef

Browse files
committed
[Init] 장고 초기 세팅 및 앱 생성 (#1)
1 parent d483dd6 commit 18de6ef

36 files changed

+545
-0
lines changed

.gitignore

Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/python,django
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=python,django
3+
4+
### Django ###
5+
*.log
6+
*.pot
7+
*.pyc
8+
__pycache__/
9+
local_settings.py
10+
db.sqlite3
11+
db.sqlite3-journal
12+
media
13+
14+
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
15+
# in your Git repository. Update and uncomment the following line accordingly.
16+
# <django-project-name>/staticfiles/
17+
18+
### Django.Python Stack ###
19+
# Byte-compiled / optimized / DLL files
20+
*.py[cod]
21+
*$py.class
22+
23+
# C extensions
24+
*.so
25+
26+
# Distribution / packaging
27+
.Python
28+
build/
29+
develop-eggs/
30+
dist/
31+
downloads/
32+
eggs/
33+
.eggs/
34+
lib/
35+
lib64/
36+
parts/
37+
sdist/
38+
var/
39+
wheels/
40+
share/python-wheels/
41+
*.egg-info/
42+
.installed.cfg
43+
*.egg
44+
MANIFEST
45+
46+
# PyInstaller
47+
# Usually these files are written by a python script from a template
48+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
49+
*.manifest
50+
*.spec
51+
52+
# Installer logs
53+
pip-log.txt
54+
pip-delete-this-directory.txt
55+
56+
# Unit test / coverage reports
57+
htmlcov/
58+
.tox/
59+
.nox/
60+
.coverage
61+
.coverage.*
62+
.cache
63+
nosetests.xml
64+
coverage.xml
65+
*.cover
66+
*.py,cover
67+
.hypothesis/
68+
.pytest_cache/
69+
cover/
70+
71+
# Translations
72+
*.mo
73+
74+
# Django stuff:
75+
76+
# Flask stuff:
77+
instance/
78+
.webassets-cache
79+
80+
# Scrapy stuff:
81+
.scrapy
82+
83+
# Sphinx documentation
84+
docs/_build/
85+
86+
# PyBuilder
87+
.pybuilder/
88+
target/
89+
90+
# Jupyter Notebook
91+
.ipynb_checkpoints
92+
93+
# IPython
94+
profile_default/
95+
ipython_config.py
96+
97+
# pyenv
98+
# For a library or package, you might want to ignore these files since the code is
99+
# intended to run in multiple environments; otherwise, check them in:
100+
# .python-version
101+
102+
# pipenv
103+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
104+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
105+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
106+
# install all needed dependencies.
107+
#Pipfile.lock
108+
109+
# poetry
110+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
111+
# This is especially recommended for binary packages to ensure reproducibility, and is more
112+
# commonly ignored for libraries.
113+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
114+
#poetry.lock
115+
116+
# pdm
117+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
118+
#pdm.lock
119+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
120+
# in version control.
121+
# https://pdm.fming.dev/#use-with-ide
122+
.pdm.toml
123+
124+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
125+
__pypackages__/
126+
127+
# Celery stuff
128+
celerybeat-schedule
129+
celerybeat.pid
130+
131+
# SageMath parsed files
132+
*.sage.py
133+
134+
# Environments
135+
.env
136+
.venv
137+
env/
138+
venv/
139+
ENV/
140+
env.bak/
141+
venv.bak/
142+
143+
# Spyder project settings
144+
.spyderproject
145+
.spyproject
146+
147+
# Rope project settings
148+
.ropeproject
149+
150+
# mkdocs documentation
151+
/site
152+
153+
# mypy
154+
.mypy_cache/
155+
.dmypy.json
156+
dmypy.json
157+
158+
# Pyre type checker
159+
.pyre/
160+
161+
# pytype static type analyzer
162+
.pytype/
163+
164+
# Cython debug symbols
165+
cython_debug/
166+
167+
# PyCharm
168+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
169+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
170+
# and can be added to the global gitignore or merged into this file. For a more nuclear
171+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
172+
#.idea/
173+
174+
### Python ###
175+
# Byte-compiled / optimized / DLL files
176+
177+
# C extensions
178+
179+
# Distribution / packaging
180+
181+
# PyInstaller
182+
# Usually these files are written by a python script from a template
183+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
184+
185+
# Installer logs
186+
187+
# Unit test / coverage reports
188+
189+
# Translations
190+
191+
# Django stuff:
192+
193+
# Flask stuff:
194+
195+
# Scrapy stuff:
196+
197+
# Sphinx documentation
198+
199+
# PyBuilder
200+
201+
# Jupyter Notebook
202+
203+
# IPython
204+
205+
# pyenv
206+
# For a library or package, you might want to ignore these files since the code is
207+
# intended to run in multiple environments; otherwise, check them in:
208+
# .python-version
209+
210+
# pipenv
211+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
212+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
213+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
214+
# install all needed dependencies.
215+
216+
# poetry
217+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
218+
# This is especially recommended for binary packages to ensure reproducibility, and is more
219+
# commonly ignored for libraries.
220+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
221+
222+
# pdm
223+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
224+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
225+
# in version control.
226+
# https://pdm.fming.dev/#use-with-ide
227+
228+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
229+
230+
# Celery stuff
231+
232+
# SageMath parsed files
233+
234+
# Environments
235+
236+
# Spyder project settings
237+
238+
# Rope project settings
239+
240+
# mkdocs documentation
241+
242+
# mypy
243+
244+
# Pyre type checker
245+
246+
# pytype static type analyzer
247+
248+
# Cython debug symbols
249+
250+
# PyCharm
251+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
252+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
253+
# and can be added to the global gitignore or merged into this file. For a more nuclear
254+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
255+
256+
### Python Patch ###
257+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
258+
poetry.toml
259+
260+
# ruff
261+
.ruff_cache/
262+
263+
# LSP config files
264+
pyrightconfig.json
265+
266+
# End of https://www.toptal.com/developers/gitignore/api/python,django

accompany/__init__.py

Whitespace-only changes.

accompany/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

accompany/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class AccompanyConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'accompany'

accompany/migrations/__init__.py

Whitespace-only changes.

accompany/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

accompany/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

accompany/views.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

chat/__init__.py

Whitespace-only changes.

chat/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

0 commit comments

Comments
 (0)