Code Monkey home page Code Monkey logo

djangosites.org's Introduction

##dabao git

Djangosites.org Source Code

This repository holds source code used to run www.djangosites.org.

I do NOT suggest you use this, however some parts might be useful for reference (such as search indexing, thumbnail generation, etc).

The design is NOT open source and can not be used.

The Python code comes with no warranties and may be used under the terms of an MIT licence, however I don't reccommend it. There's not really any best practices in here, and it's a codebase that was written many releases of Django ago and has been upgraded ad-hoc since then.

I'm publishing this due to many requests - and in reality, the code for such a project should be visible if it's to be a credible part of the Django community. That said, I am not actively looking for changes or improvements, however suggestions are welcome.

All content on djangosites.org is covered by the copyright notice on the page; the website content isn't included in this repository.

What's Included

  1. Signup and login with OpenID
  2. Site submission by authenticated users; submitted sites are held for admin approval
  3. Admin approval posts to Twitter
  4. Outgoing emails sent via Mandrill using djrill
  5. Website screenshots taken with http://webthumb.bluga.net

What's Missing

This code will not run as-is as it's taken from a production website with very specific configs.

  1. You will need to create a local_settings.py file. See the example included.
  2. Setup a crontab to run get_thumbs.py
  3. Configure full-text indexing in PostgreSQL for search
  4. Signup for Twitter, Mandrill, Bitly, Webthumb to get API keys.
  5. You must write your own templates; included .html files are for example purposes only
  6. No deployment files are included (ie wsgi or similar config)
  7. Tests. This is a simple site that's been running for a relatively long time. It isn't under active development. If active development were to begin, tests would be critical.
  8. Support of any time. I can try to answer questions but I don't intend to support usage of this package as-is.

Happy coding!

Ross Poulton, December 2013 [email protected] http://www.rossp.org

djangosites.org's People

Contributors

rossp avatar you-n-g avatar

Watchers

 avatar  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.