Gauravwagh / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

wrong svn checkout url for grappelli_dev in docs #333

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the documentation of Grappelli development version 
(http://code.google.com/p/django-grappelli/wiki/DocumentationDev) in 
"Installation" section I found following command:

svn checkout http://django-grappelli.googlecode.com/svn/trunk/grappelli

It's incorrect - as far as I can tell, grappelli_dev lives here:

http://django-grappelli.googlecode.com/svn/branches/grappelli_dev/

Original issue reported on code.google.com by klibe...@gmail.com on 4 Jan 2011 at 5:16

GoogleCodeExporter commented 9 years ago
no, grappelli dev is not a branch. "dev" is always the trunk, releases are in 
"tags" and "branches" are only used for special cases (like implementing a 
bigger feature or testing something very special).

btw: docs are here ... 
http://django-grappelli.readthedocs.org/
http://packages.python.org/django-grappelli/

Original comment by sehmaschine on 4 Jan 2011 at 5:30

GoogleCodeExporter commented 9 years ago
To clarify - I was hoping to use grappelli with admin_tools. I see that 
grappelli needs different set of templates to display admin_tools.menu and 
.dashboard - that is those located in "admin/_grappelli_admin_tools/". Yet when 
I checkedout the trunk, I got no such directory, neither I got     
"grappelli.context_processors.admin_template_path" which is required for 
grappelli to use correct set of templates. I re-checked just now, what I did is 
this:

D:\test> bzr branch http://django-grappelli.googlecode.com/svn/trunk/grappelli/ 
grap
Branched 382 revision(s).
# does the fact that I use bazaar matter? I don't think it should.
D:\test> cd .\grap
D:\test\grap> ls
    Directory: D:\test\grap
Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d----        2011-01-05     00:02            dashboard
d----        2011-01-05     00:02            media
d----        2011-01-05     00:02            static
d----        2011-01-05     00:02            templates
d----        2011-01-05     00:02            templatetags
d----        2011-01-05     00:02            views
-a---        2011-01-05     00:02          0 models.py
-a---        2011-01-05     00:02        359 settings.py
-a---        2011-01-05     00:02        370 urls.py
-a---        2011-01-05     00:02         15 __init__.py

As you can see there is no "context_processors.py" here - as a result 
admin_tools.menu, which I was trying to set up, wasn't displayed with grappelli 
enabled (strictly speaking: when grappelly preceded admin_tools in 
INSTALLED_APPS setting - it worked otherwise, but of course without grappelli 
looks). 

Documentation that you linked to does not offer instructions on how to 
configure grappelli with admin_tools - or just I can't find it. Either way - I 
didn't look at this docs back then I used wiki page I linked to above. I read 
that:

# required to render correct templates (grappelli+admin-tools or grappelli 
"standalone")
"grappelli.context_processors.admin_template_path",

so I started looking for context_processors.py. I found one under grappelli_dev 
branch, along with some other changes and files not present in trunk. So, in 
short, WTF?

It's possible that I miss something important, of course, and I don't use SVN 
very often (almost never since bzr supports svn checkouts), so I'm not familiar 
with SVN terminology, but I think that dev branch was not merged into the 
trunk. If I'm somehow mistaken please let me know so I can avoid another hour 
or so struggling with damn menu in the future... 

Sorry if I made too many grammar/spelling errors.

Original comment by klibe...@gmail.com on 4 Jan 2011 at 11:31

GoogleCodeExporter commented 9 years ago
I don´t actually understand what you´re doing. grappelli already includes a 
simplified version of admin-tools. context-processors are not needed anymore, 
see
http://readthedocs.org/projects/sehmaschine/django-grappelli/docs/dashboard_setu
p.html

1. do a new/clean svn-checkout of grappelli-trunk.
2. take a look at the new docs and just follow the instructions.

please use the grappelli user-group for questions regarding installation/setup.

btw: if you want to use grappelli with admin-tools, just don´t install 
grappelli.dashboard and install admin-tools according to the admin-tools docs. 
please note that this won´t give you the grappelli look and feel (for the 
admin index page).

thanks,
patrick

Original comment by sehmaschine on 5 Jan 2011 at 6:51

GoogleCodeExporter commented 9 years ago
using bzr shouldn´t matter – the directory-structure looks fine to me.

regards,
patrick

Original comment by sehmaschine on 5 Jan 2011 at 6:55

GoogleCodeExporter commented 9 years ago
I don't need dashboard - I needed to integrate MENU that (admin_tools provide) 
with grappelli. And I really have no questions - not regarding setup at least, 
since I actually already DID what I wanted. I included a screenshot of what I 
wanted and what I have now. Isn't this MENU from admin_tools? Doesn't it look 
like grappelli? Could you please try and "follow the instructions" and make 
it(MENU) work and look that way using grappelli-trunk?

Is this screenshot (of MENU) enough?

Original comment by klibe...@gmail.com on 5 Jan 2011 at 2:48

Attachments:

GoogleCodeExporter commented 9 years ago
see
http://readthedocs.org/projects/sehmaschine/django-grappelli/docs/dashboard_setu
p.html
http://readthedocs.org/projects/sehmaschine/django-grappelli/docs/releasenotes.h
tml#deprecated-in-1-3 (that should be 2.3, not 1.3 of course).

app-index, bookmarks and menu is no longer supported (that´s why grappelli now 
has grappelli.dashboard).

good news is, that you´ll be able to configure your own menus with grappelli 
2.3 by extending the templates (but not with a menu-class).

Original comment by sehmaschine on 5 Jan 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Is this:

Extending the Dashboard

TODO: Write docs about how to add bookmarks or custom menus.

the part of docs that I should read? :D Just asking...  

Original comment by klibe...@gmail.com on 5 Jan 2011 at 3:16

GoogleCodeExporter commented 9 years ago
Yes, I realized that just now, sorry for the fuss. I'll just wait for some more 
documentation before I switch to trunk.

Original comment by klibe...@gmail.com on 5 Jan 2011 at 3:17