django-theme-soft-design


Namedjango-theme-soft-design JSON
Version 1.0.10 PyPI version JSON
download
home_pagehttps://appseed.us/product/soft-ui-design/django/
SummaryModern template for Django (Material Kit)
upload_time2023-02-09 08:24:40
maintainer
docs_urlNone
authorAppSeed.us
requires_python
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # [Django Theme Soft Design](https://appseed.us/product/soft-ui-design/django/)

Modern Theme for **Django** that covers authentication pages (registration included) crafted on top of **[Soft UI Design](https://appseed.us/product/soft-ui-design/django/)**, an open-source `Bootstrap 5` design from [Creative-Tim](https://www.creative-tim.com/?AFFILIATE=128200).

> Actively supported by [AppSeed](https://appseed.us/) via `Email` and `Discord`.

<br>

**Links & Resources**

- [Django Soft Design](https://appseed.us/product/soft-ui-design/django/) - `Product page`
  - `Features`: Fully-configured, `CI/CD` via Render
- UI Kit: [Soft Design System](https://www.creative-tim.com/product/soft-ui-design-system?AFFILIATE=128200) (Bootstrap 5) by `Creative-Tim`
- **Sections Covered**: 
  - `All pages` managed by `Django.contrib.AUTH`
  - `Registration` page
  - `Misc pages`: colors, icons, typography, blank-page 
  
<br />

![Soft UI Design - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812602-e35bad42-823f-4d3e-9d13-87a6c06c5a63.png)

<br />

## Why `Django Theme Material Kit`

- Modern [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Design
- `Minimal Template` overriding
- `Easy integration`
- Fully compatible with `Django.contrib.AUTH`
- `Registration` page included

<br />

## How to use it

<br />

> **Install the package** via `PIP` 

```bash
$ pip install django-theme-soft-design
// OR
$ pip install git+https://github.com/app-generator/django-theme-soft-design.git
```

<br />

> Add `theme_soft_design` application to the `INSTALLED_APPS` setting of your Django project `settings.py`:

```python
INSTALLED_APPS = [
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",

    'theme_soft_design',          # <-- NEW 
]
```

<br />

> Update project `settings.py` file to include (at the end of the file):

```python
LOGIN_REDIRECT_URL = '/'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
```

<br />

> Add `theme_soft_design` urls in your Django Project `urls.py` file.

```python
from django.urls import path, include       # <-- UPD with 'include' directive

urlpatterns = [
    ...
    path('', include('theme_soft_design.urls')),  #  <-- NEW
]
```

<br />

> **Collect static** if you are in `production environment`:

```bash
$ python manage.py collectstatic
```

<br />

> **Start the app**

```bash
$ # Set up the database
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Create the superuser
$ python manage.py createsuperuser
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
```

<br />

## How to Customize 

When a template file is loaded, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found. 
The theme used to style this starter provides the following files: 

```bash
# This exists in ENV: LIB/theme_soft_design
< UI_LIBRARY_ROOT >                      
   |
   |-- templates/                     # Root Templates Folder 
   |    |          
   |    |-- accounts/       
   |    |    |-- sign-in.html         # Sign IN Page
   |    |    |-- sign-up.html         # Sign UP Page
   |    |
   |    |-- includes/       
   |    |    |-- footer.html          # Footer component
   |    |    |-- navigation.html      # Navigation Bar
   |    |    |-- scripts.html         # Scripts Component
   |    |
   |    |-- layouts/       
   |    |    |-- base.html            # Masterpage
   |    |
   |    |-- pages/       
   |         |-- index.html           # Dashboard Page
   |         |-- author.html          # Profile Page
   |         |-- *.html               # All other pages
   |    
   |-- ************************************************************************
```

When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path. 

For instance, if we want to customize the `index.html` these are the steps:

- `Step 1`: create the `templates` DIRECTORY inside your app 
- `Step 2`: configure the project to use this new template directory
  - Edit `settings.py` TEMPLATES section 
- `Step 3`: copy the `index.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR
  - Source PATH: `<YOUR_ENV>/LIB/theme_soft_design/templates/pages/index.html`
  - Destination PATH: `YOUR_APP/templates/pages/index.html`
- Edit the `index.html` (Destination PATH)     

At this point, the default version of the `index.html` shipped in the library is ignored by Django.

In a similar way, all other files and components can be customized easily.

<br />

## [PRO Version](https://appseed.us/product/soft-ui-design-pro/django/)   

**Soft UI Design** is a premium design crafted by the `Creative-Tim` agency on top of Bootstrap 5 Framework. Designed for those who like bold elements and beautiful websites, **Soft Design PRO** is made of hundreds of elements, designed blocks, and fully coded pages built with an impressive level of quality.

- [Django Soft Design PRO](https://appseed.us/product/soft-ui-design-pro/django/) - product page
  - `Enhanced UI` - more pages and components
  - `Priority` on support

<br />  

![Soft UI Design PRO - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812715-52e036b7-582d-4851-9657-6b1f99727619.png)

<br />

---
**[Django Theme Soft Design](https://appseed.us/product/soft-ui-design/django/)** - Modern Theme provided by **[AppSeed](https://appseed.us/)**



            

Raw data

            {
    "_id": null,
    "home_page": "https://appseed.us/product/soft-ui-design/django/",
    "name": "django-theme-soft-design",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "AppSeed.us",
    "author_email": "support@appseed.us",
    "download_url": "https://files.pythonhosted.org/packages/10/b6/6eeff4daf2f18e311cd6186ffe9c591fda4c0ebba7ebea1320a2c0a4b2dc/django-theme-soft-design-1.0.10.tar.gz",
    "platform": null,
    "description": "# [Django Theme Soft Design](https://appseed.us/product/soft-ui-design/django/)\r\n\r\nModern Theme for **Django** that covers authentication pages (registration included) crafted on top of **[Soft UI Design](https://appseed.us/product/soft-ui-design/django/)**, an open-source `Bootstrap 5` design from [Creative-Tim](https://www.creative-tim.com/?AFFILIATE=128200).\r\n\r\n> Actively supported by [AppSeed](https://appseed.us/) via `Email` and `Discord`.\r\n\r\n<br>\r\n\r\n**Links & Resources**\r\n\r\n- [Django Soft Design](https://appseed.us/product/soft-ui-design/django/) - `Product page`\r\n  - `Features`: Fully-configured, `CI/CD` via Render\r\n- UI Kit: [Soft Design System](https://www.creative-tim.com/product/soft-ui-design-system?AFFILIATE=128200) (Bootstrap 5) by `Creative-Tim`\r\n- **Sections Covered**: \r\n  - `All pages` managed by `Django.contrib.AUTH`\r\n  - `Registration` page\r\n  - `Misc pages`: colors, icons, typography, blank-page \r\n  \r\n<br />\r\n\r\n![Soft UI Design - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812602-e35bad42-823f-4d3e-9d13-87a6c06c5a63.png)\r\n\r\n<br />\r\n\r\n## Why `Django Theme Material Kit`\r\n\r\n- Modern [Bootstrap 5](https://www.admin-dashboards.com/bootstrap-5-templates/) Design\r\n- `Minimal Template` overriding\r\n- `Easy integration`\r\n- Fully compatible with `Django.contrib.AUTH`\r\n- `Registration` page included\r\n\r\n<br />\r\n\r\n## How to use it\r\n\r\n<br />\r\n\r\n> **Install the package** via `PIP` \r\n\r\n```bash\r\n$ pip install django-theme-soft-design\r\n// OR\r\n$ pip install git+https://github.com/app-generator/django-theme-soft-design.git\r\n```\r\n\r\n<br />\r\n\r\n> Add `theme_soft_design` application to the `INSTALLED_APPS` setting of your Django project `settings.py`:\r\n\r\n```python\r\nINSTALLED_APPS = [\r\n    \"django.contrib.admin\",\r\n    \"django.contrib.auth\",\r\n    \"django.contrib.contenttypes\",\r\n    \"django.contrib.sessions\",\r\n    \"django.contrib.messages\",\r\n    \"django.contrib.staticfiles\",\r\n\r\n    'theme_soft_design',          # <-- NEW \r\n]\r\n```\r\n\r\n<br />\r\n\r\n> Update project `settings.py` file to include (at the end of the file):\r\n\r\n```python\r\nLOGIN_REDIRECT_URL = '/'\r\nEMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'\r\n```\r\n\r\n<br />\r\n\r\n> Add `theme_soft_design` urls in your Django Project `urls.py` file.\r\n\r\n```python\r\nfrom django.urls import path, include       # <-- UPD with 'include' directive\r\n\r\nurlpatterns = [\r\n    ...\r\n    path('', include('theme_soft_design.urls')),  #  <-- NEW\r\n]\r\n```\r\n\r\n<br />\r\n\r\n> **Collect static** if you are in `production environment`:\r\n\r\n```bash\r\n$ python manage.py collectstatic\r\n```\r\n\r\n<br />\r\n\r\n> **Start the app**\r\n\r\n```bash\r\n$ # Set up the database\r\n$ python manage.py makemigrations\r\n$ python manage.py migrate\r\n$\r\n$ # Create the superuser\r\n$ python manage.py createsuperuser\r\n$\r\n$ # Start the application (development mode)\r\n$ python manage.py runserver # default port 8000\r\n```\r\n\r\n<br />\r\n\r\n## How to Customize \r\n\r\nWhen a template file is loaded, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found. \r\nThe theme used to style this starter provides the following files: \r\n\r\n```bash\r\n# This exists in ENV: LIB/theme_soft_design\r\n< UI_LIBRARY_ROOT >                      \r\n   |\r\n   |-- templates/                     # Root Templates Folder \r\n   |    |          \r\n   |    |-- accounts/       \r\n   |    |    |-- sign-in.html         # Sign IN Page\r\n   |    |    |-- sign-up.html         # Sign UP Page\r\n   |    |\r\n   |    |-- includes/       \r\n   |    |    |-- footer.html          # Footer component\r\n   |    |    |-- navigation.html      # Navigation Bar\r\n   |    |    |-- scripts.html         # Scripts Component\r\n   |    |\r\n   |    |-- layouts/       \r\n   |    |    |-- base.html            # Masterpage\r\n   |    |\r\n   |    |-- pages/       \r\n   |         |-- index.html           # Dashboard Page\r\n   |         |-- author.html          # Profile Page\r\n   |         |-- *.html               # All other pages\r\n   |    \r\n   |-- ************************************************************************\r\n```\r\n\r\nWhen the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path. \r\n\r\nFor instance, if we want to customize the `index.html` these are the steps:\r\n\r\n- `Step 1`: create the `templates` DIRECTORY inside your app \r\n- `Step 2`: configure the project to use this new template directory\r\n  - Edit `settings.py` TEMPLATES section \r\n- `Step 3`: copy the `index.html` from the original location (inside your ENV) and save it to the `YOUR_APP/templates` DIR\r\n  - Source PATH: `<YOUR_ENV>/LIB/theme_soft_design/templates/pages/index.html`\r\n  - Destination PATH: `YOUR_APP/templates/pages/index.html`\r\n- Edit the `index.html` (Destination PATH)     \r\n\r\nAt this point, the default version of the `index.html` shipped in the library is ignored by Django.\r\n\r\nIn a similar way, all other files and components can be customized easily.\r\n\r\n<br />\r\n\r\n## [PRO Version](https://appseed.us/product/soft-ui-design-pro/django/)   \r\n\r\n**Soft UI Design** is a premium design crafted by the `Creative-Tim` agency on top of Bootstrap 5 Framework. Designed for those who like bold elements and beautiful websites, **Soft Design PRO** is made of hundreds of elements, designed blocks, and fully coded pages built with an impressive level of quality.\r\n\r\n- [Django Soft Design PRO](https://appseed.us/product/soft-ui-design-pro/django/) - product page\r\n  - `Enhanced UI` - more pages and components\r\n  - `Priority` on support\r\n\r\n<br />  \r\n\r\n![Soft UI Design PRO - Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168812715-52e036b7-582d-4851-9657-6b1f99727619.png)\r\n\r\n<br />\r\n\r\n---\r\n**[Django Theme Soft Design](https://appseed.us/product/soft-ui-design/django/)** - Modern Theme provided by **[AppSeed](https://appseed.us/)**\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Modern template for Django (Material Kit)",
    "version": "1.0.10",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10b66eeff4daf2f18e311cd6186ffe9c591fda4c0ebba7ebea1320a2c0a4b2dc",
                "md5": "d0586c5de8737143cb0fb4cf4171bae2",
                "sha256": "46577f88418491190d3ab1edd086d2682ad78dab4412b80f5788461f22d0d40c"
            },
            "downloads": -1,
            "filename": "django-theme-soft-design-1.0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "d0586c5de8737143cb0fb4cf4171bae2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15471844,
            "upload_time": "2023-02-09T08:24:40",
            "upload_time_iso_8601": "2023-02-09T08:24:40.598654Z",
            "url": "https://files.pythonhosted.org/packages/10/b6/6eeff4daf2f18e311cd6186ffe9c591fda4c0ebba7ebea1320a2c0a4b2dc/django-theme-soft-design-1.0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-09 08:24:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "django-theme-soft-design"
}
        
Elapsed time: 0.07535s