Skip to main content

Django Classified

Project description

Django Classified

Features

  • Item groups, categories and areas (for ex. Cities or Locations)
  • Image
  • Search ability
  • SEO optimization
    • SEO-friendly urls
    • generating META description and meta keywords
    • sitemap.xml
    • robots.txt
    • RSS feed
    • Google Analytics 4 (GA4) integration
    • Open Graph protocol support
    • Support for non-Latin characters in URLs (Arabic, Cyrillic, etc.)
  • Caching
  • Translation
    • Arabic
    • Azerbaijani
    • English
    • French (thanks to Teolemon)
    • German
    • Polish
    • Portuguese
    • Russian
    • Spanish (thanks to 4bimcad)
    • Turkish (thanks to Mirat Can Bayrak)
    • Help translate to other languages at Transifex

Requirements

  • Python >=3.10
  • Django >=5.2, <6.1

Design

Demo project

Demo project with user registration (via Email/Facebook) available here.

Installation

  • Install app pip install django-classified
  • Add django_classified to the INSTALLED_APPS:
INSTALLED_APPS = [
    # Default Django applications
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.messages',
    'django.contrib.sessions',
    'django.contrib.staticfiles',

     # Required by Django Classified
    'django.contrib.sites',
    'django.contrib.humanize',
    'django.contrib.sitemaps',

     # External applications required by Django Classified
    'bootstrapform',
    'sorl.thumbnail',

    # Django Classified
    'django_classified',
]
  • Add SITE_ID to settings.py file:
SITE_ID = 1
  • Import include in addition to path and add path('', include('django_classified.urls', namespace='django_classified')), to the project urls.py file:
from django.urls import path, include

urlpatterns = [
    path('', include('django_classified.urls', namespace='django_classified')),
]
  • Add 'django_classified.context_processors.common_values' to the settings TEMPLATES 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 title
  • DCF_SITE_DESCRIPTION - Site description
  • DCF_ITEM_PER_USER_LIMIT - Max Items allowed per user
  • DCF_SITEMAP_LIMIT - Sitemap items limit
  • DCF_RSS_LIMIT - RSS feed items limit
  • DCF_RELATED_LIMIT - Number of related items displayed
  • DCF_ITEM_PER_PAGE - Number of items per page
  • DCF_LOGIN_TO_CONTACT - Hide contact information for unauthorized requests
  • DCF_DISPLAY_EMPTY_GROUPS - Display groups without items in the groups list
  • DCF_CURRENCY - Site currency (default: 'USD')

Optional integrations

  • GOOGLE_ANALYTICS_PROPERTY_ID - Google Analytics 4 measurement ID (e.g. 'G-XXXXXXXXXX')
  • GOOGLE_SITE_VERIFICATION_ID - Google Search Console verification code
  • FACEBOOK_APP_ID - Facebook App ID for Open Graph integration

Current Version

The current version is 1.2.0 (April 2026).

Project details


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.2.tar.gz (329.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_classified-1.2-py3-none-any.whl (358.2 kB view details)

Uploaded Python 3

File details

Details for the file django_classified-1.2.tar.gz.

File metadata

  • Download URL: django_classified-1.2.tar.gz
  • Upload date:
  • Size: 329.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_classified-1.2.tar.gz
Algorithm Hash digest
SHA256 b34ac28a9b3a430dcbd53648b4699f4dba1f9471679028bceb677d447ccd3dd4
MD5 ac5d2de23dec769180297e364a34d621
BLAKE2b-256 8fd00ebe0216ec1fdbb2b07b06c45f92dfbb2fa71db6f95e8047f8b022a6c106

See more details on using hashes here.

File details

Details for the file django_classified-1.2-py3-none-any.whl.

File metadata

  • Download URL: django_classified-1.2-py3-none-any.whl
  • Upload date:
  • Size: 358.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_classified-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a11e3632dab0a75afa07d8380fd24c3ff326016a4fd13c3664e1c4298754a4b8
MD5 a286a446e8946ae49878c338171bddcc
BLAKE2b-256 a60c44b54b7568053e1e540c6be987cd175b85c22b68aca2904e694c34533a0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page