eventtools documentation confusion

48 views
Skip to first unread message

J. Heasly

unread,
Feb 8, 2011, 10:08:39 PM2/8/11
to glamkit-users
The page eventtools configuration page [1] instructs:
1. Add eventtools to your INSTALLED_APPS and then to point the
r'^events/' URL pattern to the include of 'events.urls"
... then down in the Settings.py portion says to add 'events' to
INSTALLED_APPS

But there's no such app as 'events' in the current Github glamkit-
eventtools

1.) Is this because 'eventtools' used to be 'events' and the docs
haven't quite caught up?
2.) Where should I point the r'^events/' URL pattern?

Thanks in advance,
John

p.s.: There's also a Github link on this page [1] pointing to a
repository, http://github.com/glamkit/glamkit-events/tree, that
doesn't exist anymore.

[1] http://glamkit.org/eventtools/install.html

Greg Turner

unread,
Feb 9, 2011, 12:51:29 AM2/9/11
to glamki...@googlegroups.com
Hi John,

You're right, it is confusing. The way eventtools works is it provides infrastructure for dealing with event models that have several occurrences, but doesn't define any (well, many) concrete models itself.

So the events app is one you write yourself, that imports whatever you think you'll need from eventtools.

Also, have a look at the 'newtools' branch, which is a cleaner re-architecture that will eventually replace the main eventtools.

We'll take your comments into account with the next documentation update.

Warmly,

Greg.
--

Dr Greg Turner
Director, Technical Information Architect
the Interaction Consortium
http://interaction.net.au
Phone: +61 2 8060 1067
skype: gregturner
Follow us on twitter:

http://twitter.com/theixc
http://twitter.com/gsta

John Heasly

unread,
Feb 9, 2011, 1:48:35 AM2/9/11
to glamki...@googlegroups.com
Hello Greg,

Thanks for your helpful comments. In poking around, I read your Oct. Eventtools reboot post and I think I got the gist of it. I, too, am a django-schedule refugee. It does a lot of neat things, but it has its issues (I'm using a hacked-up version of it to power this and this.), so I was thrilled awhile back to come across GLAMkit and PyconAu talk. I will definitely take a look at the newtools branch. Are there any examples of pulling it into an Events model? If not, I'm sure I can probably muddle through.

Thanks for all the excellent work of the GLAMkit team!

Cheers,
John
Eugene, Ore., USA

p.s.: The GLAMkit welcome page has a mailing list link to the developers Google group. Is that intentional or might it be better if it pointed to the user group (or maybe best yet, explicit links to both)? I only found the user group because I read the fine print at the top of the developer group homepage.

Greg Turner

unread,
Feb 9, 2011, 6:12:25 AM2/9/11
to glamki...@googlegroups.com
Hi John,

Due to a perfectly-sensible-at-the-time-but-now-evidently-nuts decision when planning out all of the GLAMkit projects, we decided to silo the demos in glamkit-demo - at https://github.com/glamkit/glamkit-demo, which is now fairly non-functional since the projects it uses have moved on a long way. We've got a plan for resolving this, but it's a question of time.

However for eventtools, there is a test app in tests/eventtools_testapp which shows a 'minimal' setup with or without Occurrence Generators.

Greg.

J. Heasly

unread,
Feb 9, 2011, 6:43:01 PM2/9/11
to glamki...@googlegroups.com
Hi Greg —

The 'newtools' branch requires mptt. I'm finding a few django-mptt's on the Web but am assuming the GLAMkit one is this one -> http://github.com/django-mptt/django-mptt.

Will forge ahead unless/until I hear otherwise ...

— John

Greg Turner

unread,
Feb 9, 2011, 6:48:59 PM2/9/11
to glamki...@googlegroups.com
Hi John,

pip install django-mptt

should get you there. I think it's the same library, but the release version rather than dev.

Greg.

J. Heasly

unread,
Feb 17, 2011, 10:01:17 PM2/17/11
to glamki...@googlegroups.com
Hello Greg —

Making progress ...Can you now point me in the direction of examples of how to create/edit/manipulate the occurrences/Occurrence bits of an Event?

— John

J. Heasly

unread,
Mar 22, 2011, 8:30:52 PM3/22/11
to glamki...@googlegroups.com
Okay, the above request was perhaps a little broad.

Specifically, I'm just looking for hints on how to get occurrences/Occurrence model showing up in/hooked up to the admin.
Reply all
Reply to author
Forward
0 new messages