GithubHelp home page GithubHelp logo

hyeseung12 / networkprogramming_240603_householdaccountbook Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29 KB

2024.06.03 3학년 네트워크 프로그래밍 가계부 실습

Python 43.22% HTML 33.07% CSS 9.76% JavaScript 13.95%

networkprogramming_240603_householdaccountbook's Introduction

가계부(Household Account Book)

  1. startproject householdAccountBook
    1. python -m pip install django~=4.2
    2. django-admin startproject householdAccountBook .
    3. File > Settings... > Language & Frameworks > Django > [v] Enable Django Support
    4. Run > Edit Configurations... > + Django Server > Name: runserver
    5. VCS > Enable Version Control Integration... > git > ok
  2. 차트용 실습: startapp chart_test
    1. python manage.py startapp chart_test
    2. settings > INSTALLED_APPS > 'chart_test',
  3. chart_test/
    1. views
      1. show_chart()
    2. templates
      1. chart_view.html
    3. urls
      1. chart_test:show_chart
  4. 프로젝트명/
    1. urls
      1. include('chart_test.urls')
    2. data/data.json
      1. 임시 데이터
  5. startapp accountbook
    1. python manage.py startapp accountbook
    2. settings.py > INSTALLED_APPS > 'accountbook',
  6. accountbook/
    1. models
      1. Category
        1. name, bgcolor
      2. AccountBook
        1. type(0: 지출, 1: 소비), price, category, time, contents, created_at, updated_at
        2. photo
      3. python manage.py makemigrations accountbook
      4. python manage.py migrate
    2. admin
      1. Category
      2. AccountBook
      3. python manage.py createsuperuser
    3. views
      1. CategoryListView
      2. AccountBookListView
      3. AccountBookCreateView
      4. AccountBookUpdateView
      5. AccountBookDeleteView
      6. dashboard_accountbook()
    4. templates
      1. category_list.html
      2. accountbook_list.html
      3. accountbook_create.html
      4. accountbook_update.html
      5. accountbook_confirm_delete.html
      6. accountbook_dashboard.html
        1. humanize
        2. reset.css, nav.css, dashboard.css
        3. calendar.js, calendar.css
    5. urls
      1. accountbook:category_list
      2. accountbook:accountbook_list
      3. accountbook:accountbook_create
      4. accountbook:accountbook_update
      5. accountbook:accountbook_delete
      6. accountbook:accountbook_dashboard

networkprogramming_240603_householdaccountbook's People

Contributors

hyeseung12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.