Skip to content

Commit bc68ffc

Browse files
committed
Merge branch 'main' of github.com:app-generator/docs-v2
2 parents 2b22872 + bcd931b commit bc68ffc

File tree

158 files changed

+5693
-5807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+5693
-5807
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# Change Log
22

3+
## [1.0.7] 2023-02-11
4+
### Changes
5+
6+
- [React](https://docs.appseed.us/products/react/) Section `Update` (all items)
7+
- [React Django Berry](https://docs.appseed.us/products/react/django-berry-dashboard/) - `new item`
8+
- [React Flask Berry](https://docs.appseed.us/products/react/flask-berry-dashboard/) - `new item`
9+
10+
## [1.0.6] 2023-02-01
11+
### Changes
12+
13+
- [Django Admin Themes](https://docs.appseed.us/boilerplate-code/django-templates/)
14+
- [Django Admin Template Argon](https://docs.appseed.us/boilerplate-code/django-templates/argon-dashboard/)
15+
- [Django Admin Berry](https://docs.appseed.us/boilerplate-code/django-templates/berry-dashboard/)
16+
- [Django Admin Berry PRO](https://docs.appseed.us/boilerplate-code/django-templates/berry-dashboard-pro/)
17+
- [Django Admin Black PRO](https://docs.appseed.us/boilerplate-code/django-templates/black-dashboard-pro/)
18+
- [Django Admin Soft](https://docs.appseed.us/boilerplate-code/django-templates/soft-dashboard/)
19+
- [Django Admin Soft PRO](https://docs.appseed.us/boilerplate-code/django-templates/soft-dashboard-pro/)
20+
- [Django Admin Volt](https://docs.appseed.us/boilerplate-code/django-templates/volt-dashboard/)
21+
- [Django Dashboards](https://docs.appseed.us/products/django-dashboards/)
22+
- [Django Datta Able PRO](https://docs.appseed.us/products/django-dashboards/datta-able-pro/)
23+
- [Django Berry](https://docs.appseed.us/products/django-dashboards/berry-dashboard/)
24+
- [Django Berry PRO](https://docs.appseed.us/products/django-dashboards/berry-dashboard-pro/)
25+
- [Django Volt](https://docs.appseed.us/products/django-dashboards/volt/)
26+
- [Django Volt PRO](https://docs.appseed.us/products/django-dashboards/volt-pro/)
27+
- [Django Black PRO](https://docs.appseed.us/products/django-dashboards/black-dashboard-pro/)
28+
29+
## [1.0.5] 2023-01-29
30+
### Changes
31+
32+
- Django Volt (free)
33+
- Django Volt Admin Library
34+
- Django Black PRO
35+
- Django Black PRO Library
36+
- Django Soft (free)
37+
- Django Soft Admin Library
38+
39+
## [1.0.4] 2023-01-28
40+
### Changes
41+
42+
- Update [Django Volt](https://appseed.us/product/volt-dashboard/django/) Docs
43+
- [theme](https://docs.appseed.us/boilerplate-code/django-templates/volt-dashboard/) and [product](https://docs.appseed.us/products/django-dashboards/volt/)
44+
45+
## [1.0.3] 2023-01-21
46+
### Changes
47+
48+
- Added SSR Support
49+
350
## [1.0.2] 2023-01-19
451
### Changes
552

README.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: The official documentation of the service.
44

55
# [AppSeed](https://appseed.us/)
66

7-
> **Research and Innovation-oriented StartUp** for developers XXXasdas - `Read more` about the [team](https://appseed.us/about/) and service [terms](https://appseed.us/terms/).
7+
> **Research and Innovation-oriented StartUp** for developers - `Read more` about the [team](https://appseed.us/about/) and service [terms](https://appseed.us/terms/).
88
99
![AppSeed - Automation platform for developers.](https://user-images.githubusercontent.com/51070104/204030603-db09a5f3-41ef-4cc4-8564-07abb9a64f53.png)
1010

@@ -18,9 +18,11 @@ The **[App Generator](https://appseed.us)** is an automated workflow that consum
1818
1919
The product is `self-funded`, mainly `driven` by **open-source** and **comunity members** connected to the service via diferrent funnels (`Email`, `Newletter`) and [Discord](https://discord.gg/fZC6hup) (1k+ members).
2020

21+
<br/>
22+
2123
## `Services` and [Products](https://appseed.us/admin-dashboards/open-source/)
2224

23-
- 🚀 **[PRO Accounts](https://appseed.us/terms/)** via `$19/yr` (annual subscription)
25+
- 🚀 **[PRO Accounts](https://appseed.us/terms/)** via `$49/yr` (annual subscription)
2426
- **30%OFF** applicable to `all products` & licenses
2527
- **24/7** fast support via Email and `Discord`
2628
- **Private Access** to all internal [tools](https://appseed.us/developer-tools/): [OpenAPI Editor](https://appseed.us/generator/openapi/), parsers and `generators`.

docs/boilerplate-code/django-dashboard.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,7 @@ By default, the starter is not provided with users. To access the private pages
122122
To access the `admin` section, Django requires `superuser` privilegies. Let's create a new `superuser` and access the `admin` section of the project:
123123

124124
```bash
125-
$ python.exe manage.py createsuperuser
126-
>>> Username (leave blank to use 'test'): test
127-
>>> Email address: [email protected]
128-
>>> Password: *******
129-
>>> Password (again): *******
130-
>>> Superuser created successfully.
125+
$ python manage.py createsuperuser
131126
```
132127

133128
Once the `superuser` is successfully created, we can access the `admin` section:
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
---
2+
title: Django AdminLTE - Open-Source UI LIbrary
3+
sidebar_label: Django AdminLTE
4+
---
5+
6+
# [Django AdminLTE Theme](https://appseed.us/product/adminlte/django/)
7+
8+
<SubHeading> Open-source Library for Django admin section styled with AdminLTE Design</SubHeading>
9+
10+
Modern template for **Django** that covers `Admin Section`, all authentication pages (registration included) crafted on top of [AdminLTE](https://appseed.us/product/adminlte/django/),
11+
an iconic `Bootstrap` design from ColorLib.
12+
13+
14+
**Links & Resources**
15+
16+
- [Django AdminLTE](/products/django-dashboards/adminlte/) - `Product` that uses the library
17+
- `Features`: Fully-configured, `CI/CD` via Render
18+
- UI Kit: `AdminLTE` by `ColorLib`
19+
- **Sections Covered**:
20+
- `Admin Section`, reserved for `superusers`
21+
- `All pages` managed by `Django.contrib.AUTH`
22+
- `Registration` page
23+
- `Misc pages`: colors, icons, typography, blank-page
24+
25+
26+
![AdminLTE - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168842202-9b80a957-a375-4e6d-8247-2cc459267a86.png)
27+
28+
29+
## How to use it
30+
31+
> **Install the package** via `PIP`
32+
33+
```bash
34+
$ pip install django-admin-adminlte
35+
// OR
36+
$ pip install git+https://github.com/app-generator/django-admin-adminlte.git
37+
```
38+
39+
> Add `admin_adminlte` application to the `INSTALLED_APPS` setting of your Django project `settings.py` file (note it should be before `django.contrib.admin`):
40+
41+
```python
42+
INSTALLED_APPS = (
43+
...
44+
'admin_adminlte.apps.AdminAdminlteConfig',
45+
'django.contrib.admin',
46+
)
47+
```
48+
49+
50+
> Add `LOGIN_REDIRECT_URL` and `EMAIL_BACKEND` of your Django project `settings.py` file:
51+
52+
```python
53+
LOGIN_REDIRECT_URL = '/'
54+
# EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
55+
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
56+
```
57+
58+
59+
> Add `admin_adminlte` urls in your Django Project `urls.py` file
60+
61+
```python
62+
from django.urls import path, include
63+
64+
urlpatterns = [
65+
...
66+
path('', include('admin_adminlte.urls')),
67+
]
68+
```
69+
70+
71+
> **Collect static** if you are in `production environment`:
72+
73+
```bash
74+
$ python manage.py collectstatic
75+
```
76+
77+
> **Start the app**
78+
79+
```bash
80+
$ # Set up the database
81+
$ python manage.py makemigrations
82+
$ python manage.py migrate
83+
$
84+
$ # Create the superuser
85+
$ python manage.py createsuperuser
86+
$
87+
$ # Start the application (development mode)
88+
$ python manage.py runserver # default port 8000
89+
```
90+
91+
Access the `admin` section in the browser: `http://127.0.0.1:8000/`
92+
93+
94+
95+
## How to Customize
96+
97+
When a template file is loaded, `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.
98+
The theme used to style this starter provides the following files:
99+
100+
```bash
101+
# This exists in ENV: LIB/admin_adminlte
102+
< UI_LIBRARY_ROOT >
103+
|
104+
|-- templates/ # Root Templates Folder
105+
| |
106+
| |-- accounts/
107+
| | |-- login.html # Sign IN Page
108+
| | |-- register.html # Sign UP Page
109+
| |
110+
| |-- includes/
111+
| | |-- footer.html # Footer component
112+
| | |-- sidebar.html # Sidebar component
113+
| | |-- navigation.html # Navigation Bar
114+
| | |-- scripts.html # Scripts Component
115+
| |
116+
| |-- layouts/
117+
| | |-- base.html # Masterpage
118+
| | |-- base-auth.html # Masterpage for Auth Pages
119+
| |
120+
| |-- pages/
121+
| |-- index.html # Dashboard Page
122+
| |-- calendar.html # Profile Page
123+
| |-- *.html # All other pages
124+
|
125+
|-- ************************************************************************
126+
```
127+
128+
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.
129+
130+
For instance, if we want to customize the `footer.html` these are the steps:
131+
132+
- `Step 1`: create the `templates` DIRECTORY inside your app
133+
- `Step 2`: configure the project to use this new template directory
134+
- Edit `settings.py` TEMPLATES section
135+
- `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
136+
- Source PATH: `<YOUR_ENV>/LIB/admin_adminlte/templates/includes/footer.html`
137+
- Destination PATH: `YOUR_APP/templates/includes/footer.html`
138+
- Edit the `footer.html` (Destination PATH)
139+
140+
At this point, the default version of the `footer.html` shipped in the library is ignored by Django.
141+
142+
In a similar way, all other files and components can be customized easily.
143+
144+
145+
## Resources
146+
147+
- 👉 [Django AdminLTE](https://appseed.us/product/adminlte/django/) - `Product` that uses the library (fully configured)
148+
- 👉 Free [Support](https://appseed.us/support/) via Email & Discord

0 commit comments

Comments
 (0)