Re: django-grappelli setup problem

2009-04-17 Thread Lars Stavholm
patrickk wrote: > # stable release: > an "official release" won´t be there until reordering of edit-inlines > is possible. > we are using grappelli for most of our clients - so I´m considering > the trunk "stable". with stable I mean that for all _our_ usecases it > works fine. bookmarks & navigat

Re: django-grappelli setup problem

2009-04-17 Thread patrickk
# stable release: an "official release" won´t be there until reordering of edit-inlines is possible. we are using grappelli for most of our clients - so I´m considering the trunk "stable". with stable I mean that for all _our_ usecases it works fine. bookmarks & navigation is pretty new, so there

Re: django-grappelli setup problem

2009-04-16 Thread Lars Stavholm
patrickk wrote: > I´m working with the request-context-processor. I´ll change that for > the user (because the auth-processor is required for the admin > anyway). nevertheless, without the request-processor, bookmarks > probably doesn´t work. > > simple fix: > just add "django.core.context_proces

Re: django-grappelli setup problem

2009-04-16 Thread patrickk
I´m working with the request-context-processor. I´ll change that for the user (because the auth-processor is required for the admin anyway). nevertheless, without the request-processor, bookmarks probably doesn´t work. simple fix: just add "django.core.context_processors.request", to your templat

Re: django-grappelli setup problem

2009-04-16 Thread Lars Stavholm
patrickk wrote: > it´s really easy to debug here: > line 60 of index.html is {% get_navigation request.user %}. > check the templatetag (navigation.py) and see if the user is there and > if the navigation is loaded (e.g. using "print object_list" when the > dev-server is started). if there are pro

Re: django-grappelli setup problem

2009-04-16 Thread patrickk
it´s really easy to debug here: line 60 of index.html is {% get_navigation request.user %}. check the templatetag (navigation.py) and see if the user is there and if the navigation is loaded (e.g. using "print object_list" when the dev-server is started). if there are problems, use the shell (pyth

Re: django-grappelli setup problem

2009-04-16 Thread Lars Stavholm
So that all went well. Now all I need now is the bookmarks and the sidebar navigation box. They're not visible as of right now and I'm not sure what to do about it. The recommended fixtures are loaded. Any ideas anyone? /L Lars Stavholm wrote: > patrickk wrote: >> line 53 of base.html is {% get

Re: django-grappelli setup problem

2009-04-15 Thread Lars Stavholm
patrickk wrote: > line 53 of base.html is {% get_help request.path %}. > > I´m not exactly sure what´s happening here and I´m not able to > reproduce this error. > you might wanna try to debug ... request.user seems to work (because > that´s a couple of lines before), so request.path should also

Re: django-grappelli setup problem

2009-04-15 Thread patrickk
line 53 of base.html is {% get_help request.path %}. I´m not exactly sure what´s happening here and I´m not able to reproduce this error. you might wanna try to debug ... request.user seems to work (because that´s a couple of lines before), so request.path should also work. but I´ve never tested

Re: django-grappelli setup problem

2009-04-15 Thread Lars Stavholm
patrickk wrote: > in order to use the admin, just use /admin/ (grappelli doesn´t change > the admin-urls). Thanks, but that got me in to some other problem: TemplateSyntaxError at /admin/ Caught an exception while rendering: Failed lookup for key [request] in u"[{'root_path': u'/admin/', 'app_li

Re: django-grappelli setup problem

2009-04-15 Thread patrickk
in order to use the admin, just use /admin/ (grappelli doesn´t change the admin-urls). patrick On 15 Apr., 10:06, Lars Stavholm wrote: > patrickk wrote: > > which URL causes that error? > > http://localhost:8000/grappelli/admin/ > > > please note that in order to use grappelli you have to setu

Re: django-grappelli setup problem

2009-04-15 Thread Lars Stavholm
patrickk wrote: > which URL causes that error? http://localhost:8000/grappelli/admin/ > please note that in order to use grappelli you have to setup the admin- > site before, see > http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ref-contrib-admin. > maybe this should be mentioned in the

Re: django-grappelli setup problem

2009-04-15 Thread patrickk
which URL causes that error? please note that in order to use grappelli you have to setup the admin- site before, see http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ref-contrib-admin. maybe this should be mentioned in the docs, but I guess it´s pretty obvious. patrick. On Apr 14, 8:3

Re: django-grappelli setup problem

2009-04-14 Thread Karen Tracey
On Tue, Apr 14, 2009 at 2:36 PM, Lars Stavholm wrote: > > Hi All, > > I'm trying to get django-grappelli running, but after following > the installation instructions, I end up with a 404 and the following: > > Using the URLconf defined in bfact.urls, Django tried these URL > patterns, in this ord