- startproject householdAccountBook
- python -m pip install django~=4.2
- django-admin startproject householdAccountBook .
- File > Settings ... > Language & Frameworks > Django > [v] Enable Django Support
- Run > Edit Configurations... > + Django Server > Name : runserver
- VCS > Enable Version Control Integration... > git > ok
- 차트용 실습 : startapp chart_test
- python manage.py startapp chart_test
- settings > INSTALLED_APPS > 'chart_test',
- chart_test/
- views
- show_chart()
- templates
- chart_view.html
- urls
- chart_test:show_chart
- views
- 프로젝트명/
- urls
- include('chart_test.urls')
- data/data.json
- 임시데이터
- urls
- startapp accountbook
- python manage.py startapp accountbook
- settings.py > INSTALLED_APPS > 'accountbook'
- accountbook/
- modles
- Category
- name, bgcolor
- AccountBook
- type(0: 지출, 1: 소비), price, category, time, contents, created)at, updated_at
photho
- python manage.py makemigrations accountbook
- python manage.py migrate
- Category
- admin
- Category
- AccountBook
- python manage.py createsuperuser
- views
- CategoryListView
- AccountbookListView
- AccountbookCreateView
- AccountbookUpdateView
- AccountbookDeleteView
- dashboard_accountBook()
- get_daily_accountbook_list()
- get_weekly_chart_data()
- get_all_chart_data()
- accountbook_createform()
- templates/accountbook/
- category_list.html
- accountbook_list.html
- accountbook_create.html
- accountbook_update.html
- account_confirm_delete.html
- accountbook_dashboard.html
- humanize
- reset.css, nav.css, dashboard.css
- calendar.js, calendar.css
- daily.css
- weekly.js
- daily_accountbook_list.html
- accountbook_createform.html
- createform.css
- urls
- accountbook:category_list
- accountbook:accountbook_list
- accountbook:accountbook_create
- accountbook:accountbook_update
- accountbook:accountbook_delete
- accountbook:account_dashboard
- accountbook:daily_accountbook_list
- accountbook:weekly_chart_data
- accountbook:all_chart_data
- accountbook:accountbook_createform
- forms
- AccountBookForm
- modles
-
Notifications
You must be signed in to change notification settings - Fork 0
school-note/2024-dj-account-book-code
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published