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.1 (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.1.tar.gz (329.8 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.1-py3-none-any.whl (358.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_classified-1.2.1.tar.gz
Algorithm Hash digest
SHA256 1c9c53707c988aeae40f35d50d5ea570c544690d2c1dccc2d172f3d9748e774a
MD5 64f60ca20956e6af6fd95e180fd80869
BLAKE2b-256 cde07fa1b36175a9946528d8f44f44d28038ba55012ca5070f023a3724974d71

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_classified-1.2.1.tar.gz:

Publisher: pypi.yml on slyapustin/django-classified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for django_classified-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fa2a3e0199f300e06c0dbab4a4f92aa2faee13cde6323fb4d85d2a8524a23f8
MD5 158bb57777fc28ed9e63a0ccd9b8be6f
BLAKE2b-256 7e9aafcfc1e618627247b5ab6e29d65aa0d5491119709e58f2c552cb47c3cd0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_classified-1.2.1-py3-none-any.whl:

Publisher: pypi.yml on slyapustin/django-classified

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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