summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracracia <acracia0.2@gmail.com>2009-09-05 15:59:43 (GMT)
committer acracia <acracia0.2@gmail.com>2009-09-05 15:59:43 (GMT)
commitc5b99ce779c7a4922e7eae76f2c4aee54e2e05b4 (patch)
tree5da19a2b89e4b684068b5faf8ee5aaf7f511957f
parentba48ffb87fce20ee95344311fd48d991596ff161 (diff)
deleting surplus files
-rw-r--r--__init__.py0
-rwxr-xr-xcal/test/testEventCalBase.py158
-rwxr-xr-xflatpages/__init__.py0
-rwxr-xr-xflatpages/models.py5
-rwxr-xr-xflatpages/views.py1
-rw-r--r--manage.py11
-rw-r--r--otrotest.dot644
-rwxr-xr-xpolls/__init__.py0
-rwxr-xr-xpolls/models.py35
-rwxr-xr-xpolls/urls.py14
-rwxr-xr-xpolls/views.py38
-rw-r--r--settings.py98
-rwxr-xr-xsites/__init__.py0
-rwxr-xr-xsites/models.py31
-rwxr-xr-xsites/urls.py23
-rwxr-xr-xsites/views.py33
-rw-r--r--test.dot289
-rw-r--r--urls.py93
18 files changed, 0 insertions, 1473 deletions
diff --git a/__init__.py b/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/__init__.py
+++ /dev/null
diff --git a/cal/test/testEventCalBase.py b/cal/test/testEventCalBase.py
deleted file mode 100755
index 299f895..0000000
--- a/cal/test/testEventCalBase.py
+++ /dev/null
@@ -1,158 +0,0 @@
-#!/usr/bin/env python
-
-# path manuiplation to include the directory above
-import sys
-sys.path.append('..')
-
-import unittest
-import operator
-import datetime
-
-import eventCalBase
-
-class testMonthCalendar(unittest.TestCase):
- def setUp(self):
- self.emsg = 'Expect %s, got %s'
- self.now = datetime.datetime.now()
- self.cal = eventCalBase.monthCalendar(1, 'someone', self.now.year,
- self.now.month)
-
- def testGetDate(self):
- """Test getDate()"""
- day = 9
- expect = datetime.date(self.now.year, self.now.month, day)
- got = self.cal.getDate(day)
- self.failUnlessEqual(expect, got, self.emsg % (expect, got))
-
- def testAddEvent(self):
- """Test addEvent()"""
- fixdate = datetime.datetime(2007,6,20,12,30,0)
- event = eventCalBase.event(1, 'test', fixdate)
- self.cal.addEvent(event, fixdate.day)
-
- expectdate = self.cal.getDate(fixdate.day)
- event.setStart(datetime.datetime.combine(expectdate, fixdate.time()))
- expect = [event]
- got = self.cal.getDailyEvents(fixdate.day)
- self.failUnlessEqual(expect, got, self.emsg % (expect, got))
-
- def testGetEvents_multipleEvents(self):
- """Test getEvents()"""
- now = datetime.datetime.now()
- event = eventCalBase.event(1, 'test', now)
- for c in xrange(3):
- self.cal.addEvent(event, now.day)
-
- expect = self.cal.events[now.day]
- got = self.cal.getEvents(now.day, now.time().replace(microsecond=0))
- self.failUnlessEqual(expect, got, self.emsg % (expect, got))
-
- def testDelEvent(self):
- """Test delEvent()"""
- daylist = [1,2,20]
- timelist = [datetime.time(12,30,0),
- datetime.time(13, 0,0),
- datetime.time(14,45,0),]
- # add event
- id = 1
- for d in daylist:
- for t in timelist:
- date = datetime.date(self.now.year, self.now.month, d)
- dt = datetime.datetime.combine(date, t)
- event = eventCalBase.event(id, 'test', dt)
- self.cal.addEvent(event, d)
- id += 1
- # get event (before delete)
- before = []
- for d in daylist:
- before.append(self.cal.getDailyEvents(d))
- # del event and compare output
- for d, b in zip(daylist, before):
- b.pop(1)
- self.cal.delEvent(d, timelist[1])
- expect = b
- got = self.cal.getDailyEvents(d)
- self.failUnlessEqual(expect, got, self.emsg % (expect, got))
-
-
-class testEvent(unittest.TestCase):
- def setUp(self):
- self.eDatetime = datetime.datetime.now()
- self.e = eventCalBase.event(1, 'event', self.eDatetime, 'some event')
-
- def testEqual(self):
- """Test ==operator"""
- _other = eventCalBase.event(1, 'event', self.eDatetime,)
- self.failUnlessEqual(self.e, _other,
- 'a1 == a2 failed. a1=%s, a2=%s' % (self.e, _other))
-
- def testLessThan(self):
- """Test <operator"""
- _dt = self.eDatetime + datetime.timedelta(1)
- _other = eventCalBase.event(2, 'event', _dt)
- self.failUnless(operator.lt(self.e, _other),
- 'a1 < a2 failed. a1=%s, a2=%s' % (self.e, _other))
- self.failIf(operator.lt(_other, _other),
- 'a1 < a2 failed. a1=%s, a2=%s' % (_other, _other))
-
- def testLessThanEqual(self):
- """Test <=operator"""
- _dt = self.eDatetime + datetime.timedelta(1)
- _other = eventCalBase.event(2, 'event', _dt)
- self.failUnless(operator.le(self.e, _other),
- 'a1 <= a2 failed. a1=%s, a2=%s' % (self.e, _other))
- self.failUnless(operator.le(_other, _other),
- 'a1 <= a2 failed. a1=%s, a2=%s' % (_other, _other))
-
- def testGreaterThan(self):
- """Test >operator"""
- _dt = self.eDatetime - datetime.timedelta(1)
- _other = eventCalBase.event(2, 'event', _dt)
- self.failUnless(operator.gt(self.e, _other),
- 'a1 > a2 failed. a1=%s, a2=%s' % (self.e, _other))
- self.failIf(operator.gt(_other, _other),
- 'a1 > a2 failed. a1=%s, a2=%s' % (_other, _other))
-
- def testGreaterThanEqual(self):
- """Test >=operator"""
- _dt = self.eDatetime - datetime.timedelta(1)
- _other = eventCalBase.event(2, 'event', _dt)
- self.failUnless(operator.ge(self.e, _other),
- 'a1 => a2 failed. a1=%s, a2=%s' % (self.e, _other))
- self.failUnless(operator.ge(_other, _other),
- 'a1 => a2 failed. a1=%s, a2=%s' % (_other, _other))
-
- def testNotEqual(self):
- """Test !=operator"""
- _dt = self.eDatetime - datetime.timedelta(1)
- _other = eventCalBase.event(2, 'event', _dt)
- self.failUnless(operator.ne(self.e, _other),
- 'a1 != a2 failed. a1=%s, a2=%s' % (self.e, _other))
- self.failIf(operator.ne(_other, _other),
- 'a1 != a2 failed. a1=%s, a2=%s' % (_other, _other))
-
- def testPassDue(self):
- """Test passDue()"""
- _future = self.eDatetime + datetime.timedelta(1)
- _past = self.eDatetime - datetime.timedelta(1)
- self.failUnless(self.e.passDue(_future),
- 'Expect passDue(%s) of %s to be True' % (_future, self.e))
- self.failIf(self.e.passDue(_past),
- 'Expect passDue(%s) of %s to be False' % (_past, self.e))
- self.failIf(self.e.passDue(self.eDatetime),
- 'Expect passDue(%s) of %s to be False' % (
- self.eDatetime, self.e))
-
- def testStart(self):
- """test setStart()"""
- emsg = 'Expect %s, got %s'
- f = datetime.datetime
- expect = f.combine(datetime.date(2007,5,26), f.now().time())
- self.e.setStart(expect)
- self.failUnlessEqual(expect, self.e.start,
- emsg % (expect, self.e.start))
-
-if __name__ == '__main__':
- unittest.main()
-
-
diff --git a/flatpages/__init__.py b/flatpages/__init__.py
deleted file mode 100755
index e69de29..0000000
--- a/flatpages/__init__.py
+++ /dev/null
diff --git a/flatpages/models.py b/flatpages/models.py
deleted file mode 100755
index 508029f..0000000
--- a/flatpages/models.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from django.db import models
-
-# Create your models here.
-
-
diff --git a/flatpages/views.py b/flatpages/views.py
deleted file mode 100755
index 60f00ef..0000000
--- a/flatpages/views.py
+++ /dev/null
@@ -1 +0,0 @@
-# Create your views here.
diff --git a/manage.py b/manage.py
deleted file mode 100644
index 5e78ea9..0000000
--- a/manage.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python
-from django.core.management import execute_manager
-try:
- import settings # Assumed to be in the same directory.
-except ImportError:
- import sys
- sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
- sys.exit(1)
-
-if __name__ == "__main__":
- execute_manager(settings)
diff --git a/otrotest.dot b/otrotest.dot
deleted file mode 100644
index d860d76..0000000
--- a/otrotest.dot
+++ /dev/null
@@ -1,644 +0,0 @@
-
-digraph name {
- fontname = "Helvetica"
- fontsize = 8
-
- node [
- fontname = "Helvetica"
- fontsize = 8
- shape = "plaintext"
- ]
- edge [
- fontname = "Helvetica"
- fontsize = 8
- ]
-
-
-
-
-subgraph cluster_django_contrib_auth_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.auth</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_auth_models_Permission [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Permission</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- django_contrib_auth_models_Group [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Group</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- django_contrib_auth_models_User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- django_contrib_auth_models_Message [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Message</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_admin_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.admin</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_admin_models_LogEntry [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >LogEntry</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_contenttypes_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.contenttypes</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_contenttypes_models_ContentType [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >ContentType</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_formtools_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.formtools</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_sessions_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.sessions</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_sessions_models_Session [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Session</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_comments_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.comments</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_comments_models_Comment [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Comment</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- django_contrib_comments_models_CommentFlag [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >CommentFlag</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_sites_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.sites</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_sites_models_Site [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Site</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_webdesign_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.webdesign</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
-
-
-}
-
-
-
-
-subgraph cluster_infopoint_flatpages_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >infopoint.flatpages</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- infopoint_flatpages_models_FlatPage [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >FlatPage</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_infopoint_sites_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >infopoint.sites</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- infopoint_sites_models_Site [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Site</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_infopoint_agenda_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >infopoint.agenda</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- infopoint_agenda_models_Location [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Location</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Event [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Event</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Network [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Network</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Todo [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Todo</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_EventTaskpool [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >EventTaskpool</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_GroupTaskpool [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >GroupTaskpool</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Attendance [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Attendance</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Billboard [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Billboard</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-
-
- django_contrib_auth_models_Permission -> django_contrib_contenttypes_models_ContentType
- [label="content_type"] ;
-
-
-
-
- django_contrib_auth_models_Group -> django_contrib_auth_models_Permission
- [label="permissions"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- django_contrib_auth_models_User -> django_contrib_auth_models_Group
- [label="groups"] [arrowhead=normal arrowtail=normal];
-
-
- django_contrib_auth_models_User -> django_contrib_auth_models_Permission
- [label="user_permissions"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- django_contrib_auth_models_Message -> django_contrib_auth_models_User
- [label="user"] ;
-
-
-
-
-
-
-
- django_contrib_admin_models_LogEntry -> django_contrib_auth_models_User
- [label="user"] ;
-
-
- django_contrib_admin_models_LogEntry -> django_contrib_contenttypes_models_ContentType
- [label="content_type"] ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- django_contrib_comments_models_Comment -> django_contrib_contenttypes_models_ContentType
- [label="content_type"] ;
-
-
- django_contrib_comments_models_Comment -> django_contrib_sites_models_Site
- [label="site"] ;
-
-
- django_contrib_comments_models_Comment -> django_contrib_auth_models_User
- [label="user"] ;
-
-
-
-
- django_contrib_comments_models_CommentFlag -> django_contrib_auth_models_User
- [label="user"] ;
-
-
- django_contrib_comments_models_CommentFlag -> django_contrib_comments_models_Comment
- [label="comment"] ;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- infopoint_flatpages_models_FlatPage -> django_contrib_sites_models_Site
- [label="sites"] [arrowhead=normal arrowtail=normal];
-
-
-
-
-
-
-
-
-
-
-
-
- infopoint_agenda_models_Location -> infopoint_agenda_models_Location
- [label="is_in"] ;
-
-
-
-
- infopoint_agenda_models_Event -> infopoint_agenda_models_Location
- [label="location"] ;
-
-
- infopoint_agenda_models_Event -> django_contrib_sites_models_Site
- [label="site"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_User
- [label="pixie"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_Group
- [label="redes"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_User
- [label="atendees"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- infopoint_agenda_models_Network -> infopoint_agenda_models_Event
- [label="event"] ;
-
-
- infopoint_agenda_models_Network -> django_contrib_auth_models_Group
- [label="group"] ;
-
-
- infopoint_agenda_models_Network -> django_contrib_auth_models_User
- [label="creator"] ;
-
-
-
-
- infopoint_agenda_models_Todo -> django_contrib_auth_models_User
- [label="creator"] ;
-
-
- infopoint_agenda_models_Todo -> django_contrib_auth_models_Group
- [label="network"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Todo -> infopoint_agenda_models_Event
- [label="event"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- infopoint_agenda_models_EventTaskpool -> infopoint_agenda_models_Event
- [label="event"] ;
-
-
- infopoint_agenda_models_EventTaskpool -> infopoint_agenda_models_Todo
- [label="todo"] ;
-
-
-
-
- infopoint_agenda_models_GroupTaskpool -> django_contrib_auth_models_Group
- [label="network"] ;
-
-
- infopoint_agenda_models_GroupTaskpool -> infopoint_agenda_models_Todo
- [label="todo"] ;
-
-
-
-
- infopoint_agenda_models_Attendance -> django_contrib_auth_models_User
- [label="person"] ;
-
-
- infopoint_agenda_models_Attendance -> infopoint_agenda_models_Event
- [label="event"] ;
-
-
-
-
- infopoint_agenda_models_Billboard -> django_contrib_auth_models_Group
- [label="groups"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Billboard -> infopoint_agenda_models_Location
- [label="location"] [arrowhead=normal arrowtail=normal];
-
-
-
-
-}
-
diff --git a/polls/__init__.py b/polls/__init__.py
deleted file mode 100755
index e69de29..0000000
--- a/polls/__init__.py
+++ /dev/null
diff --git a/polls/models.py b/polls/models.py
deleted file mode 100755
index f8a1b17..0000000
--- a/polls/models.py
+++ /dev/null
@@ -1,35 +0,0 @@
-from django.db import models
-
-# Create your models here.
-
-class Poll(models.Model):
- def __unicode__(self):
- return self.question
- question = models.CharField(max_length=200)
- pub_date = models.DateTimeField('date published')
-
-class Choice(models.Model):
- def __unicode__(self):
- return self.choice
- poll = models.ForeignKey(Poll)
- choice = models.CharField(max_length=200)
- votes = models.IntegerField()
-
-from django.contrib import admin
-
-class ChoiceInline(admin.TabularInline):
- model = Choice
- extra = 3
-
-class PollAdmin(admin.ModelAdmin):
- list_display = ('question', 'pub_date')
- list_filter = ['pub_date']
- search_fields = ['question']
- date_hierarchy = 'pub_date'
- fieldsets = [
- (None, {'fields': ['question']}),
- ('Date information', {'fields': ['pub_date'], 'classes': ['collapse']}),
- ]
- inlines = [ChoiceInline]
-
-admin.site.register(Poll, PollAdmin)
diff --git a/polls/urls.py b/polls/urls.py
deleted file mode 100755
index 81c2bbd..0000000
--- a/polls/urls.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from django.conf.urls.defaults import *
-from infopoint.polls.models import Poll
-
-info_dict = {
- 'queryset': Poll.objects.all(),
-}
-
-urlpatterns = patterns('',
- (r'^$', 'django.views.generic.list_detail.object_list', info_dict),
- url(r'^(?P<object_id>\d+)/results/$', 'django.views.generic.list_detail.object_detail', dict(info_dict, template_name='polls/results.html'), 'poll_results'),
- (r'^(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_list', dict(info_dict, template_name='polls/poll_list.html'), 'poll_results'),
- (r'^(?P<poll_id>\d+)/vote/$', 'infopoint.polls.views.vote'),
-)
-
diff --git a/polls/views.py b/polls/views.py
deleted file mode 100755
index 18bf3ee..0000000
--- a/polls/views.py
+++ /dev/null
@@ -1,38 +0,0 @@
-# Create your views here.
-
-from django.shortcuts import render_to_response, get_object_or_404
-from django.core.urlresolvers import reverse
-from infopoint.polls.models import Poll
-from django.http import Http404, HttpResponseRedirect
-
-def index(request):
- object_list = Poll.objects.all().order_by('-pub_date')[:5]
- return render_to_response('polls/index.html', {'object_list': object_list})
-
-def detail(request, poll_id):
- p = get_object_or_404(Poll, pk=poll_id)
- return render_to_response('polls/detail.html', {'poll': p})
-
-
-def vote(request, poll_id):
- p = get_object_or_404(Poll, pk=poll_id)
- try:
- selected_choice = p.choice_set.get(pk=request.POST['choice'])
- except (KeyError, Choice.DoesNotExist):
- # Redisplay the poll voting form.
- return render_to_response('polls/detail.html', {
- 'poll': p,
- 'error_message': "You didn't select a choice.",
- })
- else:
- selected_choice.votes += 1
- selected_choice.save()
- # Always return an HttpResponseRedirect after successfully dealing
- # with POST data. This prevents data from being posted twice if a
- # user hits the Back button.
- return HttpResponseRedirect(reverse('infopoint.polls.views.results', args=(p.id,)))
-
-def results(request, poll_id):
- p = get_object_or_404(Poll, pk=poll_id)
- return render_to_response('polls/results.html', {'poll': p})
-
diff --git a/settings.py b/settings.py
deleted file mode 100644
index 9f5ebac..0000000
--- a/settings.py
+++ /dev/null
@@ -1,98 +0,0 @@
-# Django settings for infopoint project.
-
-DEBUG = True
-TEMPLATE_DEBUG = True
-
-ADMINS = (
- # ('Your Name', 'your_email@domain.com'),
- ('acracia', 'acracia@riseup.net'),
-)
-
-MANAGERS = ADMINS
-
-DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-DATABASE_NAME = 'infopoint' # Or path to database file if using sqlite3.
-DATABASE_USER = 'infopoint' # Not used with sqlite3.
-DATABASE_PASSWORD = 'cucina' # Not used with sqlite3.
-DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
-DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
-
-# Local time zone for this installation. Choices can be found here:
-# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
-# although not all choices may be available on all operating systems.
-# If running in a Windows environment this must be set to the same as your
-# system time zone.
-TIME_ZONE = 'Europe/Amsterdam'
-
-# Language code for this installation. All choices can be found here:
-# http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = 'en-us'
-
-SITE_ID = 1
-
-# If you set this to False, Django will make some optimizations so as not
-# to load the internationalization machinery.
-USE_I18N = True
-
-# Absolute path to the directory that holds media.
-# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = '/var/www/media/'
-
-# URL that handles the media served from MEDIA_ROOT. Make sure to use a
-# trailing slash if there is a path component (optional in other cases).
-# Examples: "http://media.lawrence.com", "http://example.com/media/"
-MEDIA_URL = '/media/'
-
-# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
-# trailing slash.
-# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = 'http://razorgirl/media/'
-
-# Make this unique, and don't share it with anybody.
-SECRET_KEY = '#!df#6!!jyirh$f=dqsxy1e6pt5orkh9ceqpcs%@28y6(2%e*&'
-
-# List of callables that know how to import templates from various sources.
-TEMPLATE_LOADERS = (
- 'django.template.loaders.filesystem.load_template_source',
- 'django.template.loaders.app_directories.load_template_source',
-)
-
-MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.middleware.gzip.GZipMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
-)
-
-ROOT_URLCONF = 'infopoint.urls'
-
-TEMPLATE_DIRS = (
- # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
- # Always use forward slashes, even on Windows.
- # Don't forget to use absolute paths, not relative paths.
- "/home/django/infopoint/templates",
-)
-
-INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.admin',
- 'django.contrib.contenttypes',
- 'django.contrib.formtools',
- 'django.contrib.sessions',
- 'django.contrib.comments',
- 'django.contrib.humanize',
- 'django.contrib.sites',
- 'django.contrib.sitemaps',
- 'django.contrib.syndication',
- 'django.contrib.webdesign',
- 'django.contrib.databrowse',
-# 'infopoint.polls',
- 'infopoint.sites',
-# 'infopoint.tags',
- 'infopoint.agenda',
- # 'infopoint.cal',
- 'infopoint.flatpages',
-)
diff --git a/sites/__init__.py b/sites/__init__.py
deleted file mode 100755
index e69de29..0000000
--- a/sites/__init__.py
+++ /dev/null
diff --git a/sites/models.py b/sites/models.py
deleted file mode 100755
index 6680c91..0000000
--- a/sites/models.py
+++ /dev/null
@@ -1,31 +0,0 @@
-from django.db import models
-# Create your models here.
-from django.contrib import admin, auth
-from django.contrib.auth.models import User
-from django.contrib.sites.models import *
-from infopoint.sites.models import *
-from infopoint.flatpages.models import models
-from django.contrib.flatpages.models import FlatPage
-from django.contrib import databrowse
-from infopoint.agenda.models import Todo
-
-databrowse.site.register(Site)
-
-
-class SiteInline(admin.TabularInline):
- model = Site
-#from infopoint.flatpages.models import Flatpages
-
-class FlatPageAdmin(admin.ModelAdmin):
- #inlines = [SiteInline]
- pass
-admin.site.register(FlatPage, FlatPageAdmin)
-
-
-class FlatPageInline(admin.TabularInline):
- model = FlatPage
-#class SiteAdmin(admin.ModelAdmin):
-# inlines = [FlatPageInline]
-#admin.site.register(Site, SiteAdmin)
-
-
diff --git a/sites/urls.py b/sites/urls.py
deleted file mode 100755
index 9131235..0000000
--- a/sites/urls.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from django.conf.urls.defaults import *
-from infopoint.sites.models import *
-from infopoint.agenda.models import *
-from django.contrib.auth import views
-
-
-posts_dict = {
- 'queryset': FlatPage.objects.all()
- }
-
-site_dict = {
- 'queryset': Site.objects.all()
- }
-
-
-urlpatterns = patterns('',
- (r'^$', 'django.views.generic.list_detail.object_list', site_dict),
- #(r'^2/$', 'infopoint.sites.views.all_activity'),
- #(r'^f/(?P<object_id>\d+)/$', 'infopoint.sites.views.one_flatpage'),
- #(r'^f/$', 'infopoint.sites.views.flatpages'),
- (r'^post/(?P<object_id>\d+)/$', 'django.views.generic.list_detail.object_detail', posts_dict ),
- (r'^/post/(?P<object_id>\d+)/edit/$', 'django.views.generic.create_update.update_object', posts_dict),
-)
diff --git a/sites/views.py b/sites/views.py
deleted file mode 100755
index afb8548..0000000
--- a/sites/views.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Create your views here.
-from django.shortcuts import render_to_response, get_object_or_404
-from django.http import HttpResponse
-from django.contrib.sites.models import *
-from django.contrib.sites.models import *
-from django.conf import settings
-from django.contrib.flatpages.models import FlatPage
-from django.contrib.auth.models import User
-
-
-def all_activity(request):
- post_list= Flatpage.objects.all()
-
- return render_to_response('sites/directory.html', {'post_list': posts_list, 'a.site': blog})
-
-def index(request):
- return HttpResponse("Hello, world. You're at the sites index.")
-
-
-def one_flatpage(request, object_id):
- a = get_object_or_404(FlatPage,pk=object_id)
- return render_to_response('flatpages/default.html', {'a': flatpages, })
-
-def flatpages(request, object_id):
- a = get_object_or_404(Flatpage,pk=object_id)
- return render_to_response('flatpages/default.html', {'a': flatpages})
-
-def article_detail(request, object_id):
- a = get_object_or_404(Article,pk=object_id)
- return render_to_response('blog/one_blog.html', {'a': flatpages})
-
-
-
diff --git a/test.dot b/test.dot
deleted file mode 100644
index 073acbe..0000000
--- a/test.dot
+++ /dev/null
@@ -1,289 +0,0 @@
-
-digraph name {
- fontname = "Helvetica"
- fontsize = 8
-
- node [
- fontname = "Helvetica"
- fontsize = 8
- shape = "plaintext"
- ]
- edge [
- fontname = "Helvetica"
- fontsize = 8
- ]
-
-
-
-
-subgraph cluster_infopoint_agenda_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >infopoint.agenda</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- infopoint_agenda_models_Location [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Location</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Event [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Event</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Network [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Network</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Todo [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Todo</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Attendance [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Attendance</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
- infopoint_agenda_models_Billboard [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Billboard</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-subgraph cluster_django_contrib_sites_models {
- label=<
- <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER"
- ><FONT FACE="Helvetica Bold" COLOR="Black" POINT-SIZE="12"
- >django.contrib.sites</FONT></TD></TR>
- </TABLE>
- >
- color=olivedrab4
- style="rounded"
-
-
-
- django_contrib_sites_models_Site [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Site</FONT></TD></TR>
-
-
- </TABLE>
- >]
-
-
-
-}
-
-
-
-
-
-
- infopoint_agenda_models_Location -> infopoint_agenda_models_Location
- [label="is_in"] ;
-
-
-
-
- infopoint_agenda_models_Event -> infopoint_agenda_models_Location
- [label="location"] ;
-
-
- infopoint_agenda_models_Event -> django_contrib_sites_models_Site
- [label="site"] [arrowhead=normal arrowtail=normal];
-
-
- User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_User
- [label="pixie"] [arrowhead=normal arrowtail=normal];
-
-
- Group [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Group</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_Group
- [label="redes"] [arrowhead=normal arrowtail=normal];
-
-
- User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Event -> django_contrib_auth_models_User
- [label="atendees"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- infopoint_agenda_models_Network -> infopoint_agenda_models_Event
- [label="event"] ;
-
-
- Group [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Group</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Network -> django_contrib_auth_models_Group
- [label="group"] ;
-
-
- User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Network -> django_contrib_auth_models_User
- [label="creator"] ;
-
-
-
-
- User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Todo -> django_contrib_auth_models_User
- [label="creator"] ;
-
-
- Group [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Group</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Todo -> django_contrib_auth_models_Group
- [label="network"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Todo -> infopoint_agenda_models_Event
- [label="event"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Todo -> infopoint_agenda_models_Location
- [label="location"] [arrowhead=normal arrowtail=normal];
-
-
-
-
- User [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >User</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Attendance -> django_contrib_auth_models_User
- [label="person"] ;
-
-
- infopoint_agenda_models_Attendance -> infopoint_agenda_models_Event
- [label="event"] ;
-
-
-
-
- Group [label=<
- <TABLE BGCOLOR="palegoldenrod" BORDER="0" CELLBORDER="0" CELLSPACING="0">
- <TR><TD COLSPAN="2" CELLPADDING="4" ALIGN="CENTER" BGCOLOR="olivedrab4"
- ><FONT FACE="Helvetica Bold" COLOR="white"
- >Group</FONT></TD></TR>
- </TABLE>
- >]
-
- infopoint_agenda_models_Billboard -> django_contrib_auth_models_Group
- [label="groups"] [arrowhead=normal arrowtail=normal];
-
-
- infopoint_agenda_models_Billboard -> infopoint_agenda_models_Location
- [label="location"] [arrowhead=normal arrowtail=normal];
-
-
-
-
-
-
-
-
-
-}
-
diff --git a/urls.py b/urls.py
deleted file mode 100644
index f38285e..0000000
--- a/urls.py
+++ /dev/null
@@ -1,93 +0,0 @@
-from django.conf.urls.defaults import *
-from django.db import models
-
-# Uncomment the next two lines to enable the admin:
-from django.contrib import admin, databrowse, admindocs
-from django.contrib.admindocs import views,urls
-from django.contrib.auth import views
-from django.views.generic import create_update
-from django.views.generic.create_update import update_object
-from django.contrib.auth.decorators import login_required
-from infopoint.sites.models import *
-from infopoint.agenda.models import *
-from infopoint.flatpages.models import *
-from django.contrib.admindocs import *
-from django import template, templatetags
-from django.template import RequestContext
-from django.conf import settings
-from django.contrib.admin.views.decorators import staff_member_required
-from django.shortcuts import render_to_response
-from django.core.exceptions import *
-from django.http import Http404
-from django.core import urlresolvers
-from django.contrib.sites.models import Site
-from django.utils.translation import ugettext as _
-from django.utils.safestring import mark_safe
-import inspect, os, re
-from infopoint.agenda.views import *
-from django.contrib.comments.models import Comment
-from django.contrib.comments.urls import *
-from django import forms
-from django.contrib.formtools.preview import FormPreview
-from infopoint.agenda.forms import *
-
-admin.autodiscover()
-
-info_dict = {
- 'queryset': Site.objects.all(),
-}
-
-update = {
- 'login_required': True,
- 'model': 'location',
-
-}
-
-
-urlpatterns = patterns('',
-# Uncomment the next line to enable admin documentation:
- (r'^group/(?P<object_id>\d+)/$', 'infopoint.agenda.views.justonegroup'),
- (r'^group/(?P<object_id>\d+)/todo/(?P<todo_id>\d+)/close/$', 'infopoint.agenda.views.closegrouptodo'),
- (r'^group/(?P<object_id>\d+)/todo/add/$', 'infopoint.agenda.views.savegrouptodo'),
- (r'^agenda/group/(?P<object_id>\d+)/todo/add/$', 'infopoint.agenda.views.savegrouptodo'),
- (r'^agenda/(?P<object_id>\d+)/(?P<billboard_id>\d+)$', 'infopoint.agenda.billboardviews.one_still_event'),
- (r'^agenda/random/(?P<billboard_id>\d+)$', 'infopoint.agenda.billboardviews.billboard'),
- (r'^agenda/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.event_galaxy'),
- (r'^agenda/(?P<object_id>\d+)/cal/$', 'infopoint.agenda.views.ical_one_event'),
- (r'^agenda/user/(?P<object_id>\d+)/cal/$', 'infopoint.agenda.views.ical_user_events'),
- (r'^agenda/user/(?P<object_id>\d+)/busy/$', 'infopoint.agenda.views.ical_user_busytime'),
- (r'^agenda/user/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.user_galaxymap'),
- (r'^agenda/location/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.location_galaxymap'),
- (r'^agenda/group/(?P<object_id>\d+)/map/$', 'infopoint.agenda.billboardviews.group_galaxymap'),
- (r'^agenda/group/(?P<object_id>\d+)/$', 'infopoint.agenda.views.justonegroup'),
- (r'^agenda/next_events_cal/$', 'infopoint.agenda.views.ical_next_events'),
- (r'^agenda/me/$', 'infopoint.agenda.views.mismensajes'),
- (r'^todo/add/$', 'infopoint.agenda.views.addtodo'),
- (r'^agenda/(?P<event_id>\d+)/todo/(?P<todo_id>\d+)/close/$','infopoint.agenda.views.closetodo'),
- (r'^agenda/(?P<event_id>\d+)/todo/submit/$','infopoint.agenda.views.saveeventtodo'),
- (r'^agenda/(?P<event_id>\d+)/group/add/$','infopoint.agenda.views.addeventtogroupsave'),
- #(r'^todo/create/$',TodoCreateForm(TodoForm)),
- (r'^admin/doc/', include('django.contrib.admindocs.urls')),
- (r'^comments/', include('django.contrib.comments.urls.comments')),
- (r'^comment/(?P<object_id>\d+)/$', 'infopoint.agenda.views.one_comment'),
- (r'^user/login/$', 'django.contrib.auth.views.login'),
-# Uncomment the next line for to enable the admin:
- (r'^admin/(.*)', admin.site.root),
- (r'^$', 'django.views.generic.list_detail.object_list', info_dict),
- (r'^site/', include('infopoint.sites.urls')),
- (r'^calendar/', include('infopoint.agenda.urls')),
- (r'^databrowse/(.*)', login_required(databrowse.site.root)),
- (r'^test/(.*)', login_required(databrowse.site.root)),
- # (r'^comments/post/$', CommentFormPreview(CommentForm)),
- #(r'^tasks/add/$', (CommentForm)),
-)
-
-urlpatterns += patterns('infopoint.agenda.views',
- (r'^agenda/(?P<object_id>\d+)/$', 'event'),
- (r'^agenda/(?P<object_id>\d+)/adopt/$', 'adoptevent'),
- (r'^agenda/event/(?P<object_id>\d+)/$', 'event'),
- (r'^event/(?P<object_id>\d+)/$', 'event'),
- (r'^agenda/location/(?P<object_id>\d+)/$', 'location'),
- (r'^agenda/$', 'calendar'),
- (r'^random/$', 'random'),
-)