Django Classified
Project description
Django Classified
Features
- Item groups, categories and areas (for ex. Cities ot Locations)
- Image
- upload multiple images per item
- generating preview (via sorl-thumbnail)
- display using Lightbox JS library
- Search ability
- SEO optimization
- SEO-friendly urls
- generating META description and meta keywords
- sitemap.xml
- robots.txt
- RSS feed
- Google Analytics integration
- Open Graph protocol support
- Caching
- Translation
- English
- Russian
- French (thanks to Teolemon)
- Turkish (thanks to Mirat Can Bayrak)
- Spanish (thanks to 4bimcad)
- Help translate to other languages at Transifex
Requirements
- Python >=3.8
- Django >=3.2
Design
Demo project
Demo project with user registration (via Email/Facebook) available here.
Installation
- Install app
pip install django-classified
- Add
django_classified
to theINSTALLED_APPS
:
INSTALLED_APPS = [
# Django applications required by Django Classified
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.humanize',
'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.sitemaps',
'django.contrib.sites',
'django.contrib.staticfiles',
# External applications required by Django Classified
'bootstrapform',
'sorl.thumbnail',
# Django Classified
'django_classified',
]
- Add
url(r'', include('django_classified.urls', namespace='django_classified')),
to the projecturls.py
file:
urlpatterns = patterns(
url(r'', include('django_classified.urls', namespace='django_classified'),
)
- Add
'django_classified.context_processors.common_values'
to the settingsTEMPLATES
context_processors
list:
TEMPLATES[0]['OPTIONS']['context_processors'].append('django_classified.context_processors.common_values')
Customization:
You can provide additional customization in settings.py
DCF_SITE_NAME
- Site titleDCF_SITE_DESCRIPTION
- Site descriptionDCF_ITEM_PER_USER_LIMIT
- Max Items allowed per userDCF_SITEMAP_LIMIT
- Sitemap items limitDCF_RSS_LIMIT
- RSS feed items limitDCF_RELATED_LIMIT
- Number of related items displayedDCF_ITEM_PER_PAGE
- Number of items per pageDCF_LOGIN_TO_CONTACT
- Hide contact information for unauthorized requestsDCF_DISPLAY_EMPTY_GROUPS
- Display groups without items in the groups list
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-classified-1.0.tar.gz
(325.3 kB
view details)
Built Distribution
File details
Details for the file django-classified-1.0.tar.gz
.
File metadata
- Download URL: django-classified-1.0.tar.gz
- Upload date:
- Size: 325.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c151ffcc708f6bb18de6e108d2eff2afd3800d771de4432114821b7e15606dc |
|
MD5 | 1e989aa5871ab4ded1c1d988763a5833 |
|
BLAKE2b-256 | 321b91f436d95154fcc1b3399a043325ef0c428eb581a30dc61fab76608957dd |
File details
Details for the file django_classified-1.0-py3-none-any.whl
.
File metadata
- Download URL: django_classified-1.0-py3-none-any.whl
- Upload date:
- Size: 353.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3f9e0edd6111219d1cd83a59fcd0cb295b28317fea882c25d2508eacda7c3bd |
|
MD5 | 616761d9530e04c94d285210f9194a4e |
|
BLAKE2b-256 | 70d3ae04ad0fa2e95d574b0e38f5ba8b9e14dc3545ed92d7f81f2fc600029644 |