Skip to content

Commit 4f48ed3

Browse files
committed
Release v1.0.12
1 parent 65d9b4f commit 4f48ed3

File tree

8 files changed

+115
-18
lines changed

8 files changed

+115
-18
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+
3+
SECRET_KEY=<STRONG_KEY_HERE>

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env
1010
/staticfiles/
1111

1212
#src
13-
*.sqlite*
13+
#*.sqlite*
1414

15-
.env
15+
#.env
16+
node_modules

CHANGELOG.md

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

3+
## [1.0.12] 2024-03-04
4+
### Changes
5+
6+
- Deprecate `distutils`
7+
- use `str2bool`
8+
- Update Deps
9+
- `requirements.txt`
10+
- Update README: [PRO Version](https://appseed.us/product/argon-dashboard2-pro/django/), List features
11+
- `API`, **Charts**
12+
- **DataTables** (Filters, Export)
13+
- **Celery**
14+
- **Media Files Manager**
15+
- **Extended User Profiles**
16+
317
## [1.0.11] 2024-01-07
418
### Changes
519

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,21 @@ The product is designed to deliver the best possible user experience with highly
1212

1313
> `Have questions?` Contact **[Support](https://appseed.us/support/)** (Email & Discord) provided by **AppSeed**
1414
15-
| Free Version | [PRO Version](https://appseed.us/product/argon-dashboard2-pro/django/) | 🚀 Custom - $3999 (plus VAT) |
15+
| Free Version | [PRO Version](https://appseed.us/product/argon-dashboard2-pro/django/) | [Custom Development](https://appseed.us/custom-development/) |
1616
| --------------------------------------| --------------------------------------| --------------------------------------|
17-
|**Django 4.1.12** | **Everything in Free**, plus: | **Everything in PRO**, plus: |
18-
| ✓ Best Practices |**Premium Bootstrap Design** |**1mo Custom Development** |
19-
| ✓ Bootstrap Design |`Private REPO Access` |**Dedicated Developer** |
20-
|`Docker` |**PRO Support** - [Email & Discord](https://appseed.us/support/) | ✅ Weekly Sprints |
21-
|`CI/CD` Flow via Render | ✅ Deployment Assistance | ✅ Technical SPECS |
22-
| ✓ `Free Support | - | ✅ Documentation |
23-
| - | - |**30 days Delivery Warranty** |
24-
| ------------------------------------ | ------------------------------------ | ------------------------------------|
25-
|[LIVE Demo](https://django-argon-dash2.onrender.com/) | 🚀 [LIVE Demo](https://django-argon-dash2-pro.onrender.com/) | 🛒 `Order`: **[$3999](https://appseed.gumroad.com/l/rocket-package)** (GUMROAD) |
17+
|**Django 4.2.9** | **Everything in Free**, plus: | **Everything in PRO**, plus: |
18+
| ✓ Best Practices |**Premium Bootstrap 5 Design** |**1mo Custom Development** |
19+
| ✓ Bootstrap 5, `Material` Design |`OAuth` Google, GitHub |**Team**: PM, Developer, Tester |
20+
|`CI/CD` Flow via Render |`API`, **[Charts](https://django-argon-dash2-pro.onrender.com/charts/)** | ✅ Weekly Sprints |
21+
|`Docker` |**[DataTables](https://django-argon-dash2-pro.onrender.com/tables/)** (Filters, Export) | ✅ Technical SPECS |
22+
| - |**Celery** | ✅ Documentation |
23+
| - |**Media Files Manager** |**30 days Delivery Warranty** |
24+
| - |**Extended User Profiles** | - |
25+
| - |`Private REPO Access` | - |
26+
| - |**PRO Support** - [Email & Discord](https://appseed.us/support/) | - |
27+
| - | ✅ Deployment Assistance | - |
28+
| ------------------------------------ | ------------------------------------ | ------------------------------------|
29+
|[LIVE Demo](https://django-argon-dash2.onrender.com) | 🚀 [LIVE Demo](https://django-argon-dash2-pro.onrender.com/) | 🛒 `Order`: **[$4,999](https://appseed.gumroad.com/l/rocket-package)** (GUMROAD) |
2630

2731
![Argon Dashboard 2 - Free Starter.](https://user-images.githubusercontent.com/51070104/215804889-94eba681-8262-41a3-8e57-7d5b12dcc209.png)
2832

core/settings.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import os, random, string
1414
from pathlib import Path
1515
from dotenv import load_dotenv
16+
from str2bool import str2bool
1617

1718
load_dotenv() # take environment variables from .env.
1819

@@ -27,10 +28,13 @@
2728
if not SECRET_KEY:
2829
SECRET_KEY = ''.join(random.choice( string.ascii_lowercase ) for i in range( 32 ))
2930

30-
# Render Deployment Code
31-
DEBUG = 'RENDER' not in os.environ
31+
# Enable/Disable DEBUG Mode
32+
DEBUG = str2bool(os.environ.get('DEBUG'))
33+
#print(' DEBUG -> ' + str(DEBUG) )
3234

33-
ALLOWED_HOSTS = []
35+
ALLOWED_HOSTS = ['*']
36+
37+
CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://localhost:5085', 'http://127.0.0.1:8000', 'http://127.0.0.1:5085']
3438

3539
RENDER_EXTERNAL_HOSTNAME = os.environ.get('RENDER_EXTERNAL_HOSTNAME')
3640
if RENDER_EXTERNAL_HOSTNAME:

db.sqlite3

128 KB
Binary file not shown.

requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Core
2-
django==4.1.12
3-
python-dotenv==1.0.0
2+
django==4.2.9
3+
python-dotenv==1.0.1
4+
str2bool==1.1
45

56
# UI
67
django-admin-argon-dashboard==1.0.16
78

89
# Deployment
9-
whitenoise==6.5.0
10+
whitenoise==6.6.0
1011
gunicorn==21.2.0
1112

1213
# psycopg2-binary

templates/accounts/sign-in.html

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{% extends 'layouts/base-fullscreen.html' %}
2+
{% load i18n static admin_argon %}
3+
4+
{% block content %}
5+
6+
{% include 'includes/navigation-fullscreen.html' %}
7+
8+
<main class="main-content mt-0">
9+
<section>
10+
<div class="page-header min-vh-100">
11+
<div class="container">
12+
<div class="row">
13+
<div class="col-xl-4 col-lg-5 col-md-7 d-flex flex-column mx-lg-0 mx-auto">
14+
<div class="card card-plain">
15+
<div class="card-header pb-0 text-start">
16+
<h4 class="font-weight-bolder">Sign In</h4>
17+
<p class="mb-0">
18+
<span>USER: test / Pass12__</span>
19+
<br />
20+
<span>ADMIN: admin / Pass12__</span>
21+
</p>
22+
</div>
23+
<div class="card-body">
24+
<form method="post" action="#" role="form">
25+
{% csrf_token %}
26+
{% if form.non_field_errors %}
27+
{% for error in form.non_field_errors %}
28+
<small>{{error}}<small>
29+
{% endfor %}
30+
{% endif %}
31+
{% for field in form %}
32+
<div class="mb-3">
33+
{{field}}
34+
</div>
35+
{% endfor %}
36+
<div class="form-check form-switch">
37+
<input class="form-check-input" type="checkbox" id="rememberMe">
38+
<label class="form-check-label" for="rememberMe">Remember me</label>
39+
</div>
40+
<a class="mt-3 d-block" href="{% url 'password_reset' %}">Forgot Password?</a>
41+
<div class="text-center">
42+
<button type="submit" class="btn btn-lg btn-primary btn-lg w-100 mt-4 mb-0">Sign in</button>
43+
</div>
44+
</form>
45+
</div>
46+
<div class="card-footer text-center pt-0 px-lg-2 px-1">
47+
<p class="mb-4 text-sm mx-auto">
48+
Don't have an account?
49+
<a href="{% url 'register' %}" class="text-primary text-gradient font-weight-bold">Sign up</a>
50+
</p>
51+
</div>
52+
</div>
53+
</div>
54+
<div class="col-6 d-lg-flex d-none h-100 my-auto pe-0 position-absolute top-0 end-0 text-center justify-content-center flex-column">
55+
<div class="position-relative bg-gradient-primary h-100 m-3 px-7 border-radius-lg d-flex flex-column justify-content-center overflow-hidden" style="background-image: url('https://raw.githubusercontent.com/creativetimofficial/public-assets/master/argon-dashboard-pro/assets/img/signin-ill.jpg');
56+
background-size: cover;">
57+
<span class="mask bg-gradient-primary opacity-6"></span>
58+
<h4 class="mt-5 text-white font-weight-bolder position-relative">"Attention is the new currency"</h4>
59+
<p class="text-white position-relative">The more effortless the writing looks, the more effort the writer actually put into the process.</p>
60+
</div>
61+
</div>
62+
</div>
63+
</div>
64+
</div>
65+
</section>
66+
</main>
67+
68+
69+
{% endblock content %}
70+

0 commit comments

Comments
 (0)