Germano Gabbianelli
606db2fe7a
Added tests for pull-request #386
...
1. Custom views should be prepended to the 'views' list, otherwise they
could be shadowed by views of the superclass.
2. Custom views should not be added to the superclass 'views' list.
Instead a new list should be created and assigned to the class.
2013-12-05 12:48:55 +01:00
Germano Gabbianelli
4c35c506a7
Fixed ModelAdminBase2 to allow overriding existent views.
2013-12-03 11:34:05 +01:00
Daniel Greenfeld
09fcceef13
Merge pull request #388 from gregmuellegger/django1.6fixes
...
Fixes for Django 1.6
2013-12-01 15:30:24 -08:00
Gregor Müllegger
4072d4c009
Fixing failing tests, that only occured on Travis. You cannot use a plane, generic View in the Admin since it always needs to be a model based one. At least unless you overwrite the get_*_kwargs method.
2013-11-28 18:11:12 +01:00
Gregor Müllegger
34b98fb8ac
Better error messages for admin views that fail to instantiate.
2013-11-28 18:11:04 +01:00
Gregor Müllegger
930375e3b2
Remove deprecated setup_environ call from the docs configuration script. That made the documentation building fail for Django 1.6. Part of a Fix for #387 .
2013-11-28 13:12:50 +01:00
Gregor Müllegger
ca86c60499
Django 1.6 changed the MultiWidget.needs_multipart_form attribute into a property. We didn't plan for that in floppify code yet. We check now for properties which makes it compatible with Django 1.6 and more futureproof. Part of a Fix for #387 .
2013-11-28 13:12:50 +01:00
Gregor Müllegger
d9530074e4
Django 1.6 changed the widgets its using for IntegerFields, this needed adjustment in the floppifying rule for those fields. Part of a Fix for #387 .
2013-11-28 13:12:50 +01:00
Gregor Müllegger
b8ab2e4408
Make sure that the urls.py is loaded before the tests are run. Django 1.6 doesn't guarantee this anymore. Part of a Fix for #387 .
2013-11-28 12:03:08 +01:00
Daniel Greenfeld
d1f5e060f8
Add empty form fix to history.
2013-11-05 22:16:19 -08:00
Daniel Greenfeld
f66ac09bdf
Merge pull request #378 from douglasmiranda/fix-empty-form
...
Fix empty form.
2013-11-05 22:12:41 -08:00
Douglas Miranda
2f8f890ce0
A nice margin for a nice message. :)
2013-09-27 00:52:51 -04:00
Douglas Miranda
b169d28653
Show a nice message if the have no visible fields.
2013-09-27 00:52:18 -04:00
Daniel Greenfeld
ee445acadf
Merge pull request #377 from douglasmiranda/right-place-for-actions
...
Moving the unpublish_* actions to the right place.
2013-09-26 20:51:29 -07:00
Douglas Miranda
cd65542d03
moving the unpublish_* actions to the right place ( issue #277 )
2013-09-26 23:42:42 -04:00
Daniel Greenfeld
a32fdb1f30
Merge pull request #375 from douglasmiranda/view-descriptions
...
Adding View Descriptions for "registry" and "app_verbose_names".
2013-09-25 16:06:44 -07:00
Douglas Miranda
ff721a2ef6
Adding View Descriptions for "registry" and "app_verbose_names".
2013-09-24 03:27:38 -04:00
Daniel Greenfeld
e694d23ec8
Adding migration
2013-09-18 11:53:32 +02:00
Daniel Greenfeld
5fa2f53e13
More explicit installation instructions
2013-09-16 13:00:22 +02:00
Daniel Greenfeld
a7feb05ca4
bump to 0.6.0rc1
2013-09-12 16:44:33 +02:00
Daniel Greenfeld
cfce0f4afb
Add @yarbelk to authors and update the history file
2013-09-11 22:13:00 +02:00
Daniel Greenfeld
2b044712b6
Merge pull request #372 from yarbelk/fix_multipart
...
Fix missing enctype="multipart/form-data" when needed
2013-09-11 12:47:46 -07:00
yarbelk
690401d604
Fix missing enctype="multipart/form-data" when needed
...
- add app example.files with tests, based on example2.
- add check in base update template which checks if
form.is_multitype and adds the encoding for it
- update gitignore to ignore the uploaded media folder
- add test to blog to ensure that the create form is not
multipart encoded
2013-09-11 22:20:38 +08:00
Daniel Greenfeld
eb768817f3
Merge pull request #370 from douglasmiranda/fix-typeerror
...
fix TypeError - the right way
2013-08-26 23:42:52 -07:00
Douglas Miranda
087a918542
fix TypeError - the right way ()
2013-08-26 20:20:09 -04:00
Daniel Greenfeld
33b83ead5f
Merge pull request #366 from douglasmiranda/implementing-app-verbose-name
...
Implementing "app verbose name"
2013-08-13 16:51:09 -07:00
Daniel Greenfeld
b492f0a166
Merge pull request #364 from powersurge360/all-model-action
...
All model action
2013-08-13 16:50:33 -07:00
Douglas Miranda
cfba14384e
Tests for the "app verbose name".
2013-08-05 03:39:17 -04:00
Douglas Miranda
7806053516
Using on the blog app the new "app verbose name feature".
2013-08-05 03:37:51 -04:00
Douglas Miranda
08f38c26c2
Showing the app verbose names on the templates.
2013-08-05 03:36:37 -04:00
Douglas Miranda
7f830c8aeb
Registering and making the app verbose names accessible into the views.
2013-08-05 03:35:03 -04:00
Kevin Diale
bf21d8dac4
Adding tests for unselected actions.
2013-08-02 15:13:07 -04:00
Kevin Diale
35cb0bcc75
"only_selected" flag exists to specify whether it should affect the
...
whole queryset or just those that are selected.
2013-08-02 13:58:57 -04:00
Daniel Greenfeld
fa86f85afc
Remove accidental dependency on django.contrib.admin
2013-08-02 12:52:38 +02:00
Daniel Greenfeld
3ddaaefba4
Merge pull request #362 from powersurge360/modeladmin-ordering
...
Modeladmin ordering
2013-08-02 03:39:10 -07:00
Kevin Diale
9e29500f5c
Pretty simple tests for this one.
2013-08-01 18:16:59 -04:00
Kevin Diale
1aa4ee36d6
Implemented ordering, tests in the next commit.
2013-08-01 12:00:03 -04:00
Daniel Greenfeld
361aeda9da
Fix the theme rules page
2013-08-01 12:54:17 +02:00
Daniel Greenfeld
f0f9074ca2
Describe theming better
2013-08-01 12:46:38 +02:00
Daniel Greenfeld
7c3bc1e0b0
merge
2013-08-01 12:39:21 +02:00
Daniel Greenfeld
68cc955fce
Merge branch 'admin-date-hierarchy' of git://github.com/powersurge360/django-admin2 into powersurge360-admin-date-hierarchy
2013-08-01 12:31:38 +02:00
Daniel Greenfeld
3b0526b335
Merge branch 'develop' of github.com:pydanny/django-admin2 into develop
2013-08-01 12:28:39 +02:00
Kevin Diale
03261fa461
Should be ready to go!
2013-07-31 17:43:05 -04:00
Kevin Diale
bb127c9483
Added unit tests.
2013-07-31 17:31:23 -04:00
Kevin Diale
bab18c97c1
Interface is most of the way there.
2013-07-31 14:58:08 -04:00
Kevin Diale
966e549ace
Basic interface done.
2013-07-31 12:57:48 -04:00
the5fire
6f531ea09f
Test for the ModelAdmin2 get_index_kwargs
2013-07-31 07:17:07 +08:00
Kevin Diale
8dc0821539
Left in a wee bit of debugging code.
2013-07-30 17:20:27 -04:00
Kevin Diale
29eaa661d5
Drilling down works on a functional level. Gotta set up interface and
...
tests.
On a related note, TAKE THAT DJANGO FILTERS.
2013-07-30 16:28:24 -04:00
Daniel Greenfeld
555b022fb2
Adding Kevin Diale to authors.
2013-07-30 17:05:41 +02:00