Giter VIP home page Giter VIP logo

Comments (1)

d-demirci avatar d-demirci commented on July 27, 2024

One is for admin area the other one is for user area. Django_admjnlte3 is the project name which holds sample application.
I think this answer needs some explanation, so here it is:

for example :
you start a project with Django
(assuming you created and env and Django is installated)
django-admin startproject sampleproject
then you run
pip install django-adminlte3
this will install the latest version from pypi

you edit your settings.py
adding the lines you mentioned above to installed apps and
(for "static_root" or "static files dir" if not already done)

then, because this is a newly created project you will need to migrate and collect statics,
after all these done,
you run the project
(don't forget to createsuperuser if not done yet)
python manage.py runserver 0.0.0.0:8080 and
when you navigate to
localhost:8080/admin
you will see the login page
and after login the admin interface is ready for you by the help of "adminlte3_theme"

now comes the user interface, all necessary things are ready for use in base.html.
if you create a page e.g. index.html and this includes
{% extends 'adminlte/base.html' %} {% block content %} your content here {% endblock %}
the above code, your page will be able to use adminlte templates tags and etc.

if you want further customization such as menubar and leftmenu you should copy adminlte3/templates/lib folder to your project and play with the files within.

I hope this answer clarify your questions.

from django-adminlte3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.