Giter Site home page Giter Site logo

mc-convention's Introduction

mc-convention

The mc-convention app doesn't provide much functionality in itself, just a Convention object model object and a few additions around that.

The object just provides the convention name, year, and a few other bits of data that represents the convention/year. That object is used as a parent-level object that other MCFC apps link to, so if you use any of the mc- apps you'll either want this or will want to mirror its interface.

If you already have your own model representing the convention/year, you can have the apps link to that by configuring CONVENTION_MODEL in your settings, pointing it at your own model (in the same way you might override the AUTH_USER_MODEL model.) Just make sure it has a custom manager that provides a current() method that gets the right object based on site/fixed name/whatever.

Do that before running your migrations.

Even if you do, you may want to keep this app in place as it provides the get_convention_model() function that does that look-up in the first place, and the mc- apps assume that there will be an app named convention in your INSTALLED_APPS where it can find it.

This wants the django.contrib.sites framework in place, so...

INSTALLED_APPS = [
    ....
    'django.contrib.sites',
    'convention',
    ....
]

Enjoy!

mc-convention's People

Contributors

drykath avatar

Watchers

 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.