Thanks Gael,

I wasn't sure whether this group or the formalchemy group was most
appropriate - it is a pyramid specific package.

Editing permissions as you suggested got me some of the way there (
http://stackoverflow.com/questions/5671300/pyramid-and-formalchemy-admin-interfacesupplements
the documentation fairly well).

However, I continue to have problems with the setup. The basic install
appears to contain references to the (not installed) jquery interface and
consequently fails. I'll try the formalchemy list and hopefully get
clarification on what is going on.

Regards,
Ben


On 15 July 2011 09:50, Gael Pasgrimaud <[email protected]> wrote:

> Hi,
>
> First notice that formalchemy has it's own mailing list:
> http://groups.google.com/group/formalchemy?pli=1
>
> On Wed, Jul 13, 2011 at 6:02 PM, Benjamin Sims <[email protected]>
> wrote:
> > Hi,
> >
> > I am currently creating an application using Pyramid. In order to save
> time,
> > I am interested in using pyramid_formalchemy to set up the admin
> interface
> > for CRUD of the underlying objects.
> >
> > I have read the documentation
> > (http://docs.formalchemy.org/pyramid_formalchemy/) but it isn't entirely
> > clear to me.
> >
> > Steps I have taken so far:
> >
> > 1. easy_install pyramid_formalchemy
> > 2. paster create -t pyramid_fa myappname (provided I do this from the
> > correct directory, files such as faforms.py/fainit.py appear in my
> > application package directory)
> > 3. touch forms.py ('create an empty forms.py module' - I did this in the
> > application package, eg Myapp/myapp)
> > 4. Added the following lines in __init__.py:
> >
> >     # pyramid_formalchemy's configuration
> >     config.include('pyramid_formalchemy')
> >     # register an admin UI
> >     config.formalchemy_admin('admin', package='myappname')
> >
> > With this done, I open my application on http://localhost:port/admin....
> and
> > nothing happens. Well not nothing, what I actually see is my login/logged
> in
> > page.
>
> yes, pyramid_formalchemy take care of permissions. So if you use a
> security policy you need to take care of that in pyramid_formalchemy.
> See http://docs.formalchemy.org/pyramid_formalchemy/#setting-permissions
>
> Hope this help
>
> >
> > Could anybody point me towards which steps I am missing?
> >
> > Also, I'd appreciate any thoughts on formalchemy in general. Is it worth
> > persevering with or should I be doing it myself using deform/simpleform?
> >
>
> I love formalchemy. deform will be my second choice. Very well designed
> code.
>
> --
> Gael
>
> > Thanks,
> > Ben
> >
> >
> > --
> > 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.
> >
>
> --
> 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.
>
>

-- 
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