Ok, so I've been thinking some more.

The model could be something like this:
class Plugin(models.Model):
    """(Plugin description)"""
    pointer = models.FilePathField() ## Could work, right?
    name = models.CharField(maxlength=200)
    description = models.TextField(blank=True, null=True)
    url = models.URLField()
    apply_to = models.ForeignKey(ContentType)
    active = models.BooleanField(default=False)

We then would have to make a standard on how the plugin-packages would
be designed.
A zip-file would probably work out OK. We would then have to get this
zip-file, run through it and copy its files into a plugins-
subdirectory. The package should have a info.txt-document, where the
plugin title would be on the first line and description on the second.

But - I'm still not sure how we'd easily hook this into other
applications - at least not without the user having to modify the
source code...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to