One of the good things in Django web framework is a dashboard and a user database are already built, what we have to do is adding users to the database and creating new data models according to our need. 

 

To be able to use Django dashboard, first of all, we need to create a superuser to manage it.

 

$ python3 manage.py createsuperuser

 

After successfully create a superuser, we can start Django server by writing “python3 manage.py runserver” and open the browser at the address http://localhost:8000/admin to log into the dashboard. Django will ask us to enter username and password in the window below:

 

 

If we enter the correct username and password, we will log into Django dashboard.

 

 

As Django dashboard is translated into many languages including Khmer language, we can set the dashboard to display Khmer language by changing language and/or time zone in the settings.py module.

 

...
# Internationalization
# https://docs.djangoproject.com/en/4.0/topics/i18n/

LANGUAGE_CODE = 'km-KH'

TIME_ZONE = 'Asia/Phnom_Penh'

USE_I18N = True

USE_TZ = True
...

 

 

GitHub: https://github.com/Sokhavuth/khmerweb-django

Heroku: https://khmerweb-django.herokuapp.com