Django classified ads
Project description
Simple Django Classified Advertising App
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 optimisation
- 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)
- Help translate to other languages at Transifex
Requirements
- Python 2.7, >=3.5
- Django >=1.11
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 = (
...
'bootstrapform', # This is required by Django Classified
'sorl.thumbnail', # This is required by 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-0.8.9.tar.gz
(322.7 kB
view hashes)
Built Distribution
Close
Hashes for django_classified-0.8.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 253c171cc5526ffa20259254aeb64b9dd9685bee0db1f6562bd935a44026f29f |
|
MD5 | 14dfebee6aa86c9c84e284bf4309efac |
|
BLAKE2b-256 | 28d76063a44e6375f2605640f372863eefa9bbdac41efa5191a6f438a873df4d |