On 28/08/2012 19:14, Chris McDonough wrote:
On 05/23/2012 04:01 AM, Martin Winkler wrote:
Hi all,

Short introduction of me: I worked with Zope2 for a couple of years and
also have a little bit of experience with Zope3. I am a huge Django fan,
having created about two dozen projects with it. But right now I'm in
the process of looking at other python web frameworks.
To me Pyramid seems like a framework where some really smart people
created something having great potential.

But my real question is: Since I love Django (and the automatic
super-configurable admin backend), is there something similar already
available (or in progress) for Pyramid? I took a quick look at
formalchemy which I don't really like from a users perspective
(doubleclicking on list items, no many2many relations, strange
users/groups front end interface etc), and did not find anything else on
the web yet.

If there is no such thing (or do you think that it's not necessary at
all)? How do *you* guys implement sensible CRUD interfaces for
administrators of a web site?

I'd love to read some ideas from you.

I sort of missed this thread way back when it first came up.  I have
sort of a researchy question for you (and other folks), because I'm in
the process of developing an application on Pyramid that has that sort
of functionality.  What about the Django admin interface do you find
most useful?  How do you use it on your customer engagements?  What does
it give you that helps you deliver software to them?


Django admin ui is not very usefull. I've made a lot of Django sites and the admin UI is reserved to... admins eg: developers or advanced users. Except if you have a very simple app but we are not building blogs.

For me the important thing is the ability to build a form from a model and to be able to:

- hiding/deleting some fields
- overriding a field widget for a field type or a specific field
- adding/inserting custom fields
- manage some fieldsets - splitting a model in 2 forms and/or combining some forms - overriding a form template easily to be able to set custom labels/errors/fields position/tags. That's something I like in django [1] Except that you can't override the behavior of label_tag.

Once you get that it's "easy" to build an admin UI. You can have a default listing to show all records and filtering/sorting on some fields values

That's all done in FormAlchemy/pyramid_formalchemy but.. unfortunately, as the maintainer, I admit that the code is a bit ugly and I no longer have some time to clean and maintain it... Mostly because my company only use... Django.

My 2 cents

--
Gael

[1] https://docs.djangoproject.com/en/dev/topics/forms/#customizing-the-form-template


- C


--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to