Skip to content

Commit

Permalink
Release v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
app-generator committed Feb 1, 2023
1 parent 91d9055 commit bd7c937
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## [1.0.1] 2023-02-01
### Changes

- Templates, minor refactoring
- move content from `pages/pages` -> `pages`

## [1.0.0] 2023-02-01
### Changes

Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,26 +139,25 @@ The theme used to style this starter provides the following files:
| |
| |-- pages/
| |-- index.html # INDEX page
| |-- dashboard/index.html # Main dashboard page
| |-- widgets/data.html # Widgets page
| |-- landingpage.html # Sample LP
| |-- *.html # All other pages
|
|-- ************************************************************************
```

When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path.

For instance, if we want to customize the `footer.html` these are the steps:
For instance, if we want to customize the `index.html` these are the steps:

- `Step 1`: create the `templates` DIRECTORY inside your app
- `Step 2`: configure the project to use this new template directory
- Edit `settings.py` TEMPLATES section
- `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
- Source PATH: `<YOUR_ENV>/LIB/admin_datta_pro/includes/footer.html`
- Destination PATH: `YOUR_APP/templates/includes/footer.html`
- `Step 3`: copy the `index.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
- Source PATH: `<YOUR_ENV>/LIB/admin_datta_pro/templates/pages/index.html`
- Destination PATH: `YOUR_APP/templates/pages/index.html`
- Edit the footer (Destination PATH)

At this point, the default version of the `footer.html` shipped in the library is ignored by Django.
At this point, the default version of the `index.html` shipped in the library is ignored by Django.

In a similar way, all other files and components can be customized easily.

Expand Down

0 comments on commit bd7c937

Please sign in to comment.