On Mon, Sep 20, 2010 at 3:13 PM, Federico Capoano
<nemesis.des...@libero.it> wrote:
> Hi all,
>
> I try to explain it clearly.
>
> I have to develop an application that will implement similar
> functionality and look of the django admin, but in the frontend.
>
> So this application will have files management, clients management,
> and much more similar stuff, with add new, edit, delete, file upload
> and so on.
>
> Is there a way you would advice to do this?
>

There are a few implementations around which try to do something like
that. One of them is my django_modelviews project -- it's unreleased,
undocumented, but I use it on several sites in production. Short usage
instructions:

http://github.com/matthiask/modelviews/

1. Add django_modelviews to INSTALLED_APPS
2. Create a ModelView instance somewhere in your views.py, f.e. for
your Client model:

from yourapp.models import Client
from django_modelviews import generic
client_views = generic.ModelView(Client)

3. Create a URL entry:

from yourapp.views import client_views
urlpatterns = patterns('',
    url(r'^clients/', include(client_views.urls)),
)



If the code does not work for you or does not fit your needs, maybe it
can still serve as an inspiration for your own project.




Matthias


-- 
Django CMS building toolkit: http://www.feinheit.ch/labs/feincms-django-cms/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to