[Tilesathome] Problem getting tahngo to work
spaetz
osm at sspaeth.de
Thu Aug 21 06:19:03 BST 2008
On Wed, Aug 20, 2008 at 06:33:39PM +0200, ?ukasz Jerna? wrote:
> Hello!
>
> I'm trying to get the tah server to work. After I've chenged some
> thing not mentioned in the INSTALL file (like ROOT_URLCONF) I keep
> getting
> TemplateSyntaxError at /
Feel free to commit improved installation instructions, send me a patch to improve them, or do it in the wiki.
Are you using the latest django 1.0beta install? It won't work with 0.96 anymore since that stores eg all uploads in ram and thus crashed the box etc...
spaetz
> Caught an exception while rendering: Error while importing URLconf
> 'tah.browse.urls': 'module' object has no attribute 'form_for_model'
>
> Original Traceback (most recent call last):
> File "/home/deejay1/PRACA/django-trunk/django/template/debug.py",
> line 71, in render_node
> result = node.render(context)
> File "/home/deejay1/PRACA/django-trunk/django/template/defaulttags.py",
> line 365, in render
> return reverse(self.view_name, args=args, kwargs=kwargs)
> File "/home/deejay1/PRACA/django-trunk/django/core/urlresolvers.py",
> line 307, in reverse
> *args, **kwargs)))
> File "/home/deejay1/PRACA/django-trunk/django/core/urlresolvers.py",
> line 289, in reverse
> if lookup_view in self.reverse_dict:
> File "/home/deejay1/PRACA/django-trunk/django/core/urlresolvers.py",
> line 225, in _get_reverse_dict
> for key, value in pattern.reverse_dict.iteritems():
> File "/home/deejay1/PRACA/django-trunk/django/core/urlresolvers.py",
> line 222, in _get_reverse_dict
> if not self._reverse_dict and hasattr(self.urlconf_module, 'urlpatterns'):
> File "/home/deejay1/PRACA/django-trunk/django/core/urlresolvers.py",
> line 262, in _get_urlconf_module
> raise ImproperlyConfigured, "Error while importing URLconf %r: %s"
> % (self.urlconf_name, e)
> ImproperlyConfigured: Error while importing URLconf 'tah.browse.urls':
> 'module' object has no attribute 'form_for_model'
>
> The admin page works fine. Any hints?
>
> Regards,
> --
> ?ukasz [DeeJay1] Jerna?
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/tilesathome
More information about the Tilesathome
mailing list