Django-Classifieds

Reading time ~1 minute

Back in July, my company was contracted to work on a new classified ad site related to the golf industry. A few weeks prior to this we had decided to take the plunge and start using Django on projects whenever possible. After a few emails back-and-forth about this project, I knew that Django would make a good base for building it.

The key feature requested for the original site was to be able to support several categories of postings, each with their own distinct fields. I used a ‘Field’ model to represent the different field types available for each ad category. A ‘FieldValue’ model was used to store the value of a specific field, and associate it with the ‘Field’ and ‘Ad’ via foreign keys.

Additional features include searching, attaching images to ads, PayPal checkout, configurable pricing options, and custom templates for listing, viewing, and editing each category of ad posting.

You can see a demo version of this software here.

I can release this as an open source application, so that others can use it to build their own classified ad sites, but before I do I need to clean up the code a bit more and get more documentation in place.

Edit: Please see the follow up post.

Web Development Coding Sessions on Twitch

Hi! It's been a long time since I've posted here, but I thought anyone that liked my old posts here might appreciate this:I'm excited to ...… Continue reading

How I'm starting my React apps now

Published on January 20, 2018

Tin Khan

Published on October 03, 2016