mpbatra / django-survey

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

Support newforms-admin #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We should support the newforms-admin and we do not need to wait for it to
be merged. peschler has requested this feature and has offered to work on it.
With that in mind I am creating a newforms-admin branch, this enhancement
request, and assigning it to peschler.

I would not try to go overboard with the admin fanciness like I did with
the old admin. Yann has already done a lot of work to create proper forms
for building surveys, and I see the admin as just that, and superuser admin.

Original issue reported on code.google.com by doug.nap...@gmail.com on 8 May 2008 at 7:58

GoogleCodeExporter commented 8 years ago
I have done the basic modifications to make the survey app work with the
Django newforms-admin branch and checked them into the survey's newforms-admin
branch. My implementation is based on ``0.97-newforms-admin-SVN-7233``, which 
does
not include the queryset-refactor code yet but I'll soon test it against
newforms-admin trunk.

Here's a list of what has been done:

- Added ``admin.ModelAdmin`` classes for all survey models
- Added ``admin.TabularInline`` classes for ``Question``, ``Choice`` and 
``Answer``.

- Added new admin templates to the ``templates/admin/survey/``directory. The 
templates try to follow Django standards as close as possible.

This is a first step, some things need some further tweaking for sure. 

Original comment by pesch...@gmail.com on 9 May 2008 at 10:58

GoogleCodeExporter commented 8 years ago
Here it is a patch done against r80 that integrate the work done by " 
peschler". It
is working fine on my local repository.
I will test it a bit more and then I will commit it into trunk.

Original comment by yann.ma...@gmail.com on 21 Jul 2008 at 1:30

Attachments:

GoogleCodeExporter commented 8 years ago
Support for new form admin has been added sometimes ago when we have started to
support django 1.0.
--yml

Original comment by yann.ma...@gmail.com on 23 Oct 2008 at 1:38