https://portainer.io/overview.html
Manage your docker ecosystem by Portainer.
#container #docker #dashboard
Manage your docker ecosystem by Portainer.
#container #docker #dashboard
Django has an admin panel that does lots of tedious works that if you had to create yourself, it wouldn't be an easy t
ask. In this part we try to build the admin panel from ground up.
First of all an admin panel needs an admin user. So create one first:
Ok after creating the admin user, run the developement server:
Now point your URL to
e administrator page of Django.
#python #django #admin #dashboard #createsuperuser #django_part6
ask. In this part we try to build the admin panel from ground up.
First of all an admin panel needs an admin user. So create one first:
$ python manage.py createsuperuser
Username (leave blank to use 'fc'): alireza
Email address: a***@***.com
Password:
Password (again):
Superuser created successfully.
Ok after creating the admin user, run the developement server:
$ python manage.py runserver
Now point your URL to
http://127.0.0.1:8000/admin/
. You should see the login page in the next post. Login and see the administrator page of Django.
#python #django #admin #dashboard #createsuperuser #django_part6
Tech C**P
Django has an admin panel that does lots of tedious works that if you had to create yourself, it wouldn't be an easy t ask. In this part we try to build the admin panel from ground up. First of all an admin panel needs an admin user. So create one first:…
Django has an admin panel that does lots of tedious works that if you had to create yourself, it wouldn't be an easy task. In this part we try to build the admin panel from ground up.
First of all an admin panel needs an admin user. So create one first:
Ok after creating the admin user, run the developement server:
Now point your URL to
#python #django #admin #dashboard #createsuperuser #django_part6
Now to see polls in admin page, you need to register you models. open
Last 2 lines are added to register the
First of all an admin panel needs an admin user. So create one first:
$ python manage.py createsuperuser
Username (leave blank to use 'fc'): alireza
Email address: a***@***.com
Password:
Password (again):
Superuser created successfully.
Ok after creating the admin user, run the developement server:
$ python manage.py runserver
Now point your URL to
http://127.0.0.1:8000/admin/
. You should see the login page in the next post. Login and see the administrator page of Django.#python #django #admin #dashboard #createsuperuser #django_part6
Now to see polls in admin page, you need to register you models. open
polls/admin.py
:# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import Question
admin.site.register(Question)
Last 2 lines are added to register the
Question
model as picture below:https://github.com/hersonls/djamin/
New and different look for django admin interface
#django #dashboard #admin #theme #template #ui #github #djamin
New and different look for django admin interface
#django #dashboard #admin #theme #template #ui #github #djamin
GitHub
GitHub - hersonls/djamin: A new style for Django admin
A new style for Django admin. Contribute to hersonls/djamin development by creating an account on GitHub.
In
To read more about
- http://docs.grafana.org/features/datasources/mysql/#using-mysql-in-grafana
#mongodb #mongo #mysql #grafana #dashboard #chart
Grafana
if you are connected to MySQL
you need to provide 3 value in your select query. One is time which must be called time_sec
, the other is countable value which must be called value
and the other is the label that is displayed on your graph which must be called metric
:SELECT
UNIX_TIMESTAMP(your_date_field) as time_sec,
count(*) as value,
'your_label' as metric
FROM table
WHERE status='success'
GROUP BY your_date_field
ORDER BY your_date_field ASC
To read more about
Grafana
head over here:- http://docs.grafana.org/features/datasources/mysql/#using-mysql-in-grafana
#mongodb #mongo #mysql #grafana #dashboard #chart