Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
taoteg committed Nov 28, 2017
1 parent e6b2bd0 commit dcf2c84
Showing 1 changed file with 72 additions and 53 deletions.
125 changes: 72 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,64 +14,52 @@ Using this tutorial and sbsequent references as baseline:

Uses a custom project template that is no loger available, so recreating manually to match tutorial structure.

*Target Structure*
__Target Structure__

This is the iproject structure the tutorial uses (not a typuical setup for Django).

```
.
|_____wsgi.pyc
|_____static
|_____|_____bootstrap.min.css
|_____|_____jquery-ui.min.js
|_____|_____jquery-ui.min.css
|_____|_____dashboard.css
|_____|_____jquery-ui.css
|_____|_____jquery.min.js
|_____|_____bootstrap.min.js
|_____|_____bootstrap-theme.min.css
|_____urls.pyc
|_____templates
|_____|_____index.html
|_____|_____base.html
|_____|_____student-details.html
|_____manage.py
|_____urls.py
|_____conf
|_____|_______init__.py
|_____|_______pycache__
|_____|_____|_____base.cpython-36.pyc
|_____|_____|_______init__.cpython-36.pyc
|_____|_____base.pyc
|_____|_______init__.pyc
|_____|_____base.py
|_____apps
|_____|_____core
|_____|_____|_____migrations
|_____|_____|_____|_______init__.pyc
|_____|_____|_____|_____0001_initial.py
|_____|_____|_____|_____0001_initial.pyc
|_____|_____|_____models.pyc
|_____|_____|_____models.py
|_____|_____|_____management
|_____|_____|_____|_______init__.pyc
|_____|_____|_____|_____commands
|_____|_____|_____|_____|_____push-to-index.py
|_____|_____|_____|_____|_____dummy-data.pyc
|_____|_____|_____|_____|_____dummy-data.py
|_____|_____|_____|_____|_______init__.pyc
|_____|_____|_____|_____|_____push-to-index.pyc
|_____|_____|_____views.pyc
|_____|_____|_____apps.py
|_____|_____|_____admin.py
|_____|_____|_____urls.pyc
|_____|_____|_______init__.pyc
|_____|_____|_____urls.py
|_____|_____|_____admin.pyc
|_____|_____|_____views.py
|_____|_______init__.pyc
|_____wsgi.py
├── README.md
├── project
│   ├── apps
│   │   └── core
│   │   ├── admin.py
│   │   ├── apps.py
│   │   ├── management
│   │   │   └── commands
│   │   │   ├── dummy-data.py
│   │   │   └── push-to-index.py
│   │   ├── migrations
│   │   │   └── 0001_initial.py
│   │   ├── models.py
│   │   ├── urls.py
│   │   └── views.py
│   ├── conf
│   │   ├── __init__.py
│   │   └── base.py
│   ├── manage.py
│   ├── static
│   │   ├── bootstrap-theme.min.css
│   │   ├── bootstrap.min.css
│   │   ├── bootstrap.min.js
│   │   ├── dashboard.css
│   │   ├── jquery-ui.css
│   │   ├── jquery-ui.min.css
│   │   ├── jquery-ui.min.js
│   │   └── jquery.min.js
│   ├── templates
│   │   ├── base.html
│   │   ├── index.html
│   │   └── student-details.html
│   ├── urls.py
│   └── wsgi.py
└── requirements.txt
```

*Starting Structure*
__Starting Structure__

This is the default project structure generated by manage.py when starting a new project.

```
.
Expand All @@ -82,3 +70,34 @@ Uses a custom project template that is no loger available, so recreating manuall
|_____|_____wsgi.py
|_____manage.py
```

__Working Django Application Structure__

The state of the project structure after adapting the default django project to match tutorial, onstall reqs, configure middleware, etc.

```
.
├── README.md
├── project
│   ├── apps
│   │   └── core
│   │   ├── admin.py
│   │   ├── migrations
│   │   │   ├── 0001_initial.py
│   │   │   └── __init__.py
│   │   └── models.py
│   ├── conf
│   │   ├── __init__.py
│   │   └── base.py
│   ├── db
│   │   └── development.db
│   ├── log
│   │   └── error.log
│   ├── manage.py
│   ├── media
│   ├── static
│   ├── templates
│   ├── urls.py
│   └── wsgi.py
└── requirements.txt
```

0 comments on commit dcf2c84

Please sign in to comment.