You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+70-2Lines changed: 70 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# [Soft Dashboard PRO Django](https://appseed.us/product/soft-ui-dashboard-pro/django/)
2
2
3
-
**Django** starter styled with **[Soft Dashboard PRO](https://appseed.us/product/soft-ui-dashboard-pro/django/)**, a premium `Bootstrap 5` KIT from [Creative-Tim](https://bit.ly/3fKQZaL)
3
+
**Django** starter styled with **[Soft Dashboard PRO](https://appseed.us/product/soft-ui-dashboard-pro/django/)**, a premium `Bootstrap 5` KIT from [Creative-Tim](https://bit.ly/3fKQZaL).
4
4
The product is designed to deliver the best possible user experience with highly customizable feature-rich pages.
5
5
6
6
> **NOTE**: This product `requires a License` in order to access the theme. During the purchase, a `GitHub Access TOKEN` is provided.
@@ -102,6 +102,74 @@ At this point, the app runs at `http://127.0.0.1:8000/`.
102
102
103
103
<br />
104
104
105
+
## How to Customize
106
+
107
+
When a template file is loaded in the controller, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found.
108
+
The theme used to style this starter provides the following files:
109
+
110
+
```bash
111
+
< LIBRARY_ROOT ># This exists in ENV: LIB/admin_soft_pro
112
+
|
113
+
|-- templates/ # Root Templates Folder
114
+
||
115
+
||-- accounts/
116
+
|||-- signin/basic.html # Sign IN Page
117
+
|||-- signup/basic.html # Sign UP Page
118
+
||
119
+
||-- includes/
120
+
|||-- footer.html # Footer component
121
+
|||-- sidebar.html # Sidebar component
122
+
|||-- navigation.html # Navigation Bar
123
+
|||-- scripts.html # Scripts Component
124
+
||
125
+
||-- layouts/
126
+
|||-- base.html # Masterpage
127
+
|||-- base-fullscreen.html # Masterpage for Auth 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.
138
+
139
+
> For instance, if we want to **customize the footer.html** these are the steps:
140
+
141
+
- ✅ `Step 1`: create the `templates` DIRECTORY inside the `home` app
142
+
- ✅ `Step 2`: configure the project to use this new template directory
143
+
-`core/settings.py` TEMPLATES section
144
+
- ✅ `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `home/templates` DIR
> To speed up all these steps, the **codebase is already configured** (`Steps 1, and 2`) and a `custom footer` can be found at this location:
149
+
150
+
`home/templates/includes/custom_footer.html`
151
+
152
+
By default, this file is unused because the `theme` expects `footer.html` (without the `custom_` prefix).
153
+
154
+
In order to use it, simply rename it to `footer.html`. Like this, the default version shipped in the library is ignored by Django.
155
+
156
+
In a similar way, all other files and components can be customized easily.
157
+
158
+
<br />
159
+
160
+
## Deploy on [Render](https://render.com/)
161
+
162
+
- Create a Blueprint instance
163
+
- Go to https://dashboard.render.com/blueprints this link.
164
+
- Click `New Blueprint Instance` button.
165
+
- Connect your `repo` which you want to deploy.
166
+
- Fill the `Service Group Name` and click on `Update Existing Resources` button.
167
+
- After that your deployment will start automatically.
168
+
169
+
At this point, the product should be LIVE.
170
+
171
+
<br />
172
+
105
173
## Screenshots
106
174
107
175

@@ -121,4 +189,4 @@ At this point, the app runs at `http://127.0.0.1:8000/`.
121
189
<br />
122
190
123
191
---
124
-
**[Django Admin Soft PRO](https://appseed.us/product/soft-ui-dashboard-pro/django/)** - Modern Admin Interface provided by **[AppSeed](https://appseed.us/)**
192
+
**[Soft Dashboard PRO Django](https://appseed.us/product/soft-ui-dashboard-pro/django/)** - Modern Admin Interface provided by **[AppSeed](https://appseed.us/)**
0 commit comments