equal
deleted
inserted
replaced
147 |
147 |
148 def getDjangoURLPatterns(self): |
148 def getDjangoURLPatterns(self): |
149 """See base.View.getDjangoURLPatterns(). |
149 """See base.View.getDjangoURLPatterns(). |
150 """ |
150 """ |
151 |
151 |
|
152 page_name = "Home Page" |
152 patterns = super(View, self).getDjangoURLPatterns() |
153 patterns = super(View, self).getDjangoURLPatterns() |
153 patterns += [(r'^$','soc.views.models.site.main_public')] |
154 patterns += [(r'^$','soc.views.models.site.main_public', |
|
155 {'page_name': page_name}, page_name)] |
154 |
156 |
155 page_name = "Edit Site Settings" |
157 page_name = "Edit Site Settings" |
156 patterns += [(r'^' + self._params['url_name'] + '/edit$', |
158 patterns += [(r'^' + self._params['url_name'] + '/edit$', |
157 'soc.views.models.site.main_edit', |
159 'soc.views.models.site.main_edit', |
158 {'page_name': page_name}, page_name)] |
160 {'page_name': page_name}, page_name)] |