Add Jet Dashboard
Add Documentation link Update models for dashboard
This commit is contained in:
parent
a5e895f9ad
commit
bd19684ef8
@ -11,3 +11,8 @@ The AHosking.com API
|
||||
1. Activate environment
|
||||
`.\.env\Scripts\activate`
|
||||
1.
|
||||
|
||||
|
||||
### Third-party
|
||||
|
||||
* https://pypi.org/project/django-3-jet/
|
@ -4,5 +4,26 @@
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
"settings": {
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.activeBackground": "#fbed80",
|
||||
"activityBar.activeBorder": "#06b9a5",
|
||||
"activityBar.background": "#fbed80",
|
||||
"activityBar.foreground": "#15202b",
|
||||
"activityBar.inactiveForeground": "#15202b99",
|
||||
"activityBarBadge.background": "#06b9a5",
|
||||
"activityBarBadge.foreground": "#15202b",
|
||||
"sash.hoverBorder": "#fbed80",
|
||||
"statusBar.background": "#f9e64f",
|
||||
"statusBar.foreground": "#15202b",
|
||||
"statusBarItem.hoverBackground": "#f7df1e",
|
||||
"statusBarItem.remoteBackground": "#f9e64f",
|
||||
"statusBarItem.remoteForeground": "#15202b",
|
||||
"titleBar.activeBackground": "#f9e64f",
|
||||
"titleBar.activeForeground": "#15202b",
|
||||
"titleBar.inactiveBackground": "#f9e64f99",
|
||||
"titleBar.inactiveForeground": "#15202b99"
|
||||
},
|
||||
"peacock.color": "#f9e64f"
|
||||
}
|
||||
}
|
@ -35,6 +35,7 @@ ALLOWED_HOSTS = ["127.0.0.1", "192.168.1.187", "192.168.1.23"]
|
||||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'jet.dashboard',
|
||||
'jet',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
|
@ -25,6 +25,7 @@ urlpatterns = [
|
||||
# url(r'^$', view=TemplateView.as_view(template_name='main_api/home.html')),
|
||||
path('', views.index, name='index'),
|
||||
path('jet/', include('jet.urls', 'jet')),
|
||||
path('jet/dashboard', include('jet.dashboard.urls', 'jet-dashboard')),
|
||||
path('bills/', include('bills.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
@ -4,7 +4,7 @@ from django.db import models
|
||||
class Bill(models.Model):
|
||||
name = models.CharField(max_length=64, verbose_name='Name')
|
||||
type = models.CharField(max_length=64, verbose_name="Type")
|
||||
due = models.DateField('due_date')
|
||||
due = models.DateField(verbose_name="Due Date")
|
||||
amount = models.FloatField(default='00.00')
|
||||
is_paid = models.BooleanField(default=False, verbose_name="Paid")
|
||||
paid_date = models.DateField('paid_date',null=True, blank=True)
|
||||
|
Loading…
Reference in New Issue
Block a user