Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenanbek/django-template
Very base template project for Django applications.
https://github.com/kenanbek/django-template
Last synced: 13 days ago
JSON representation
Very base template project for Django applications.
- Host: GitHub
- URL: https://github.com/kenanbek/django-template
- Owner: KenanBek
- License: gpl-3.0
- Created: 2015-06-25T13:41:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-25T17:33:54.000Z (over 9 years ago)
- Last Synced: 2024-05-02T04:29:05.423Z (8 months ago)
- Language: HTML
- Size: 395 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
django-template
===============Very base template project for Django applications.
Django version: 1.7.3
# Features
**Pre configured Python/Django features:**
- Advanced page and data cache examples
- Using of HTML minifiers and assets compressions
- Database optimised Model examples
- Robots.txt and dynamic generation of sitemaps (sitemap.xml, sitemap-website.xml, sitemap-cart.xml)
- Advanced usage of Class Based Views with custom pagination (which additionally passes all request GET parameters to view, it might be useful for custom filter)
- Data compression (with installed security debreach package)
- Localization
- Custom user authentication with user profile
- Multiple form support
- Model history and reversion (possibility to back to old versions of the model)
- Management commands for initial configuration
- Customized Django Suit based administration
- Pre configured specific folders of Django application (fixtures, media, static, etc.)
- Email subscription
- Contact and Application database
- Using thumbnail for images
- Slider
- Logging**Pre configured 3rd party packages:**
- REST Framework
- Import Export (Import and Export to and from most popular file formats such as xml, csv, etc.)
- CKEditor (also configured to support file upload)
- Django Select2 (Auto select for administration)
- Easy Thumbnails
- Blog application
- Widgets
- Static pages
- Posts
- Post categories
- Slider
- Beep (simple twitter like model logic)
- Blog API# Install
To install Django Skeleton on your machine run following commands:
Clone the project
git clone https://github.com/KenanBek/django-skeleton.git
cd django-skeletonCreate virtual environment and install requirements
virtualenv env
.\env\Scripts\activate
pip install -r requirements.txtInitialize and run the application
cd app
python manage.py init
python manage.py runserver"python manage.py init" command will ask you to set password for administration user.
Visit **http://localhost:8000** for website, **http://localhost:8000/admin** for administration.
# Recommendations
Configure following things if you are going to use this skeleton on your projects:
- Configure django sites (enter correct name and address for the site)
- Configure application settings (settings.py)
- Configure robots.txt and sitemaps# License
Licensed under GNU GPL v3.0