# models.py

#

Definition of an application screen. The screen has application icons in it.

    class ApplicationScreen(models.Model):

#

Definition of an application icon. Essentially they consist of a name, an icon and an url.

    class ApplicationIcon(models.Model):

#

If not filled in, the link gets class "notworking"

        url = models.CharField(max_length=200, blank=True, null=True)

        application_screen = models.ForeignKey(ApplicationScreen)
        index = models.IntegerField(default=1000)