Skip to content

Commit cc61a36

Browse files
Initial import
1 parent 683bb82 commit cc61a36

File tree

232 files changed

+42236
-1
lines changed

Some content is hidden

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

232 files changed

+42236
-1
lines changed

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DEBUG=True
2+
SECRET_KEY=s3cr3t_key
3+
DATABASE_URL=sqlite:////tmp/db.sqlite3

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# tests and coverage
6+
*.pytest_cache
7+
.coverage
8+
9+
# database & logs
10+
*.db
11+
*.sqlite3
12+
*.log
13+
14+
# venv
15+
env
16+
venv
17+
18+
# other
19+
.DS_Store
20+
21+
# javascript
22+
package-lock.json

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 App Generator
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,71 @@
1-
# django-dashboard-black
1+
# [Django Dashboard Black](https://www.youtube.com/watch?v=czv4Ww6rjMU)
2+
3+
**Open-Source Admin Panel** coded in **Django Framework** on top of **Black Dashboard** design. **Features**:
4+
5+
- SQLite, Django native ORM
6+
- Modular design
7+
- Session-Based authentication (login, register)
8+
- Forms validation
9+
- UI Kit: **Black Dashboard** provided by **Creative-Tim**
10+
11+
<br />
12+
13+
![Django Dashboard Black - Open-Source Web App.](https://raw.githubusercontent.com/app-generator/static/master/products/django-dashboard-black-intro.gif)
14+
15+
<br />
16+
17+
## How to use it
18+
19+
```bash
20+
$ # Get the code
21+
$ git clone https://github.com/app-generator/django-dashboard-black.git
22+
$ cd django-dashboard-black
23+
$
24+
$ # Virtualenv modules installation (Unix based systems)
25+
$ virtualenv --no-site-packages env
26+
$ source env/bin/activate
27+
$
28+
$ # Virtualenv modules installation (Windows based systems)
29+
$ # virtualenv --no-site-packages env
30+
$ # .\env\Scripts\activate
31+
$
32+
$ # Install modules
33+
$ # SQLIte version
34+
$ pip3 install -r requirements.txt
35+
$
36+
$ # Create tables
37+
$ python manage.py makemigrations
38+
$ python manage.py migrate
39+
$
40+
$ # Start the application (development mode)
41+
$ python manage.py runserver # default port 8000
42+
$
43+
$ # Start the app - custom port
44+
$ # python manage.py runserver 0.0.0.0:<your_port>
45+
$
46+
$ # Access the web app in browser: http://127.0.0.1:8000/
47+
```
48+
49+
<br />
50+
51+
## Docker execution
52+
53+
@WIP
54+
55+
<br />
56+
57+
## Credits & Links
58+
59+
- [Django Dashboard Black](https://www.youtube.com/watch?v=czv4Ww6rjMU) - yTube presentation
60+
- [Django Framework](https://www.djangoproject.com/) - Offcial website
61+
62+
<br />
63+
64+
## License
65+
66+
@MIT
67+
68+
<br />
69+
70+
---
71+
[Django Dashboard Black](https://www.youtube.com/watch?v=czv4Ww6rjMU) - provided by **AppSeed**

app/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""

app/admin.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""
6+
7+
from django.contrib import admin
8+
9+
# Register your models here.

app/config.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""
6+
7+
from django.apps import AppConfig
8+
9+
class MyConfig(AppConfig):
10+
name = 'cfg'

app/migrations/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""

app/models.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""
6+
7+
from django.db import models
8+
from django.contrib.auth.models import User
9+
10+
# Create your models here.
11+

app/tests.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# -*- encoding: utf-8 -*-
2+
"""
3+
License: MIT
4+
Copyright (c) 2019 - present AppSeed.us
5+
"""
6+
7+
from django.test import TestCase
8+
9+
# Create your tests here.

0 commit comments

Comments
 (0)