Giter VIP home page Giter VIP logo

django-gigs-calendar's Introduction

django-gigs-calendar

A django implementation of the gigs-calendar plugin for wordpress

History

I have been using wordpress for years, however recently the security model used has left me a little dismayed. In the subsequent time I have become very familiar with python and django. I was investigating whether it would be possible to port a blog of mine over to django. After looking at django-cms and mezzanine the answer was no. Sadly the plugins of wordpress are very mature and there too many holes. I, when not coding, do standup comedy on the side and found the plugin Gigs Calendar by Dan Coulter very useful. It has a simple entry of gigs that are performed at venues. I tweaked the php myself a while back to generate an ics feed that could then be loaded into any calendaring tool. While I hoped it would allow all my adoring fans track me to my many gigs, it's really only used by my wife to organise whether we'll be eating in or out for certain days of the week.

As a mini project, I decided if I could do a effective django clone of the Gigs Calendar plugin. This is it.

Requirements

Please refer to requirements.txt for an updated list of required packages.

Installation

  1. Get from git-hub:

    git clone [email protected]:douglaskastle/django-gigs-calendar.git
    
  2. Add gigs and api and to INSTALLED_APPS in settings.py:

    INSTALLED_APPS = (
            ...
            'gigs',
            'api',
            ...
    )
    
  3. Import gigs and api URL's somewhere in your urls.py:

    urlpatterns = patterns('',
        ...
        (r'^gigs/', include('gigs.urls')),
        (r'^api/', include('api.urls')),
        ...
    )
    
  4. Create required data structure:

    ./manage.py syncdb
    

Usage

  1. Start the development server: ./manage.py runserver

  2. Navigate to /admin/ you will find that you can add venues, at venues you can have gigs, it is that simple

  3. Once gigs have been added you can check use these links:

    /gig/<id>/ # HTML page of the gig that is stored at <id>
    /gigs/gigs-upcoming/ # HTML page of gigs after datetime.now()
    /gigs/gigs-archive/ # HTML page of gigs before datetime.now()
    /gigs/gigs-full/ # HTML page of all listed gigs
    /gigs/ical-upcoming/ # ICS feed of gigs after datetime.now()
    /gigs/ical-upcoming/ # ICS feed of all listed gigs
    

TODO

License

This application is released under the GNU Affero General Public License version 3.

django-gigs-calendar's People

Contributors

douglaskastle avatar

Stargazers

 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.