Code Monkey home page Code Monkey logo

used's Introduction

Simple Django Classified Advertising App

Build Status

Features

  • Item groups, categories and areas (for ex. Cities ot Locations)
  • Image
  • 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

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 the INSTALLED_APPS:
INSTALLED_APPS = (
    ...
    'django.contrib.sites',  # This is required by Django Classified

    '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 project urls.py file:
urlpatterns = patterns(
    ...
    url(r'', 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

Credits

used's People

Contributors

inoks avatar miratcan avatar oostben avatar rooterkyberian avatar slyapustin avatar teolemon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.