Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 5, 2022 06:05 pm GMT

Soft UI Design Django - Free Template

Hello Coders!

This article presents an open-source Django Template crafted with authentication, database on top of a pixel-perfect Bootstrap 5 design. Django Soft UI Design can be downloaded directly from Github and used for a commercial project or simply for eLearning activities. For newcomers, Django is a leading web framework actively supported and versioned by programming experts using a batteries-included concept.

Thanks for reading!

Designed for those who like bold elements and beautiful websites, Soft UI Design is made of hundreds of elements, designed blocks, and fully coded pages.

Probably the most easier way to compile the product locally or deploy it in production is to use the pre-built Docker configuration.

Step #1 - Clone/Download sources from Github (public repository)

$ git clone https://github.com/app-generator/django-soft-ui-design.git$ cd django-soft-ui-design

Step #2 - Start in Docker

$ docker-compose up --build 

Once the above commands are executed, we should be able to access the app in the browser, register new users, authenticate and interact with the UI.

Django Soft UI - HERO Section.

Django Soft UI - User Profile Page.

For production, we might want to serve compressed HTML pages and this case can be achieved pretty easily with a small update:

  • Added django-htmlmin to the project requirements
  • Update Project settings to enable the compression
# core/settings.py - Partial Content...MIDDLEWARE = [    'django.middleware.security.SecurityMiddleware',    'whitenoise.middleware.WhiteNoiseMiddleware',    'django.contrib.sessions.middleware.SessionMiddleware',    'django.middleware.common.CommonMiddleware',    'django.middleware.csrf.CsrfViewMiddleware',    'django.contrib.auth.middleware.AuthenticationMiddleware',    'django.contrib.messages.middleware.MessageMiddleware',    'django.middleware.clickjacking.XFrameOptionsMiddleware',    'htmlmin.middleware.HtmlMinifyMiddleware',      # <-- NEW      'htmlmin.middleware.MarkRequestMiddleware',     # <-- NEW ]...

Thanks for reading! For more resources, feel free to access:


Original Link: https://dev.to/sm0ke/soft-ui-design-django-free-template-i57

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To