mozilla / django-badger

django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org
https://github.com/mozilla/django-badger
BSD 3-Clause "New" or "Revised" License
118 stars 61 forks source link

Merge django-badger and django-badger-multiplayer #15

Closed lmorchard closed 11 years ago

lmorchard commented 12 years ago

The idea of django-badger-multiplayer as an "addon" is a nifty idea, but requires some hacks and awkward things. Maybe merge the projects? If merged, is there a way in Django to not create certain DB tables for models that would go unused in a non-multiplayer installation? (ie. Nominations)

askvictor commented 12 years ago

Does it actually matter if unused tables are created?

lmorchard commented 11 years ago

First step taken toward this, merging the django-badger-multiplayer repo into core django-badger. Next step is to see about merging the apps themselves, and migrate the DB tables over. Then finally, remove all the fancy hacks to detect whether or not you have badger_multiplayer around.

https://github.com/lmorchard/django-badger-multiplayer/commit/e4be6d2e7efe399e074df83f8f0bdfd2e483c88c https://github.com/lmorchard/django-badger/commit/4642f10542950e6f2951460079cdeaa24fd21b99