arthur
599ec2d236
Add migrations
2016-05-07 19:44:00 +02:00
montiniz
8a51b321f3
django 1.8 fixes
2015-03-30 12:40:13 -05:00
montiniz
a6e7755a55
Fixes for compatibility with python3.
2014-11-26 09:42:17 -06:00
Kamil Gałuszka
03ebd91f78
fixing django 1.7 errors
2014-10-10 22:19:04 -05:00
Kamil Gałuszka
84bf9f2073
fixing test with modelforms
2014-10-10 22:19:03 -05:00
Kamil Gałuszka
b341d763f0
many fixes to django-admin2 with py3
...
and django 1.7 compatybility
2014-10-10 22:19:02 -05: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
Douglas Miranda
cd65542d03
moving the unpublish_* actions to the right place ( issue #277 )
2013-09-26 23:42:42 -04: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
33b83ead5f
Merge pull request #366 from douglasmiranda/implementing-app-verbose-name
...
Implementing "app verbose name"
2013-08-13 16:51:09 -07:00
Douglas Miranda
7806053516
Using on the blog app the new "app verbose name feature".
2013-08-05 03:37:51 -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
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
Kevin Diale
bb127c9483
Added unit tests.
2013-07-31 17:31:23 -04:00
Kevin Diale
966e549ace
Basic interface done.
2013-07-31 12:57:48 -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
Kevin Diale
eb204104bd
Added some tests.
2013-07-30 10:05:57 -04:00
Daniel Greenfeld
9e4d2ec039
Move default theme to it's own app. This way we are following the same pattern that other themes will have to use fix #333
2013-07-18 17:55:08 +02:00
Ludvig Wadenstein
3cc592a906
Inlines separated into stacked and tabular
2013-07-18 15:02:07 +02:00
z4r
da632d2841
It should fix #325
2013-07-16 20:36:03 +02:00
Daniel Greenfeld
944baf62db
Cleanup of example templates
2013-07-14 12:36:56 +02:00
bootandy
5477b7ad36
fix tests. now require different params on post
2013-07-09 19:36:13 +01:00
bootandy
a287898c59
merge
2013-07-09 17:58:52 +02:00
Danilo Bargen
bed88973d7
Compiled all messages. Ready for release. Fixes #314 , refs #317
2013-07-09 12:22:36 +02:00
Danilo Bargen
783401415d
Added updated translation files from transifex
2013-07-09 12:21:07 +02:00
Danilo Bargen
aeb8a84726
Pulled new translations
2013-07-09 11:34:40 +02:00
Daniel Greenfeld
da6ff9f3ce
Tweaks to make #308 work
2013-07-08 19:14:19 +02:00
Daniel Greenfeld
2ec6441de3
Merge pull request #309 from dbrgn/actions_on_top_bottom
...
Implemented actions_on_top and actions_on_bottom
2013-07-08 09:58:12 -07:00
Danilo Bargen
f178f2fccd
Compiled messages for German and Slovak
2013-07-08 16:16:02 +02:00
Danilo Bargen
8ef601e84d
Fixed order of locale middleware
2013-07-08 11:02:47 +02:00
Danilo Bargen
ec0300fa32
Added translated locales for Slovak
2013-07-08 10:57:39 +02:00
Danilo Bargen
18fda874b0
Added translated locales for German
2013-07-08 10:54:32 +02:00
Danilo Bargen
84d8d424d0
Fixed tests
2013-07-07 23:06:57 +02:00
Danilo Bargen
4977f269b5
Implemented actions_on_top and actions_on_bottom ( fixes #267 , #268 )
2013-07-07 16:46:59 +02:00
Daniel Greenfeld
47df410c07
merge
2013-07-07 16:13:48 +02:00
Daniel Greenfeld
96cde5cc94
example admin2 file cleanup
2013-07-07 15:43:43 +02:00
Daniel Greenfeld
61ae3ec149
Repair the things that I just broke
2013-07-07 15:42:54 +02:00
Danilo Bargen
043787ea45
Fixed bug caused by rebase
2013-07-07 15:10:57 +02:00
Danilo Bargen
6e42b9459d
Blog example app tests
2013-07-07 15:08:41 +02:00
Danilo Bargen
1b7382526f
Automatically choose best renderer by default
2013-07-07 15:08:07 +02:00
Danilo Bargen
78b063a586
Added sample configuration to example app
2013-07-07 15:08:07 +02:00
Daniel Greenfeld
4d5b170e10
merge
2013-07-07 11:48:56 +02:00
bootandy
e57f821ce1
fix string filters
2013-07-07 11:34:06 +02:00
NotSqrt
322a7793ed
add locale source files for English
2013-07-07 11:14:13 +02:00
NotSqrt
40052d671d
regenerate locales after change on buttons
2013-07-07 11:02:54 +02:00
NotSqrt
c132a7cdd0
more details on i18n
2013-07-07 11:00:49 +02:00
NotSqrt
8935395534
work on i18n : add comments for translators, french translation to check the result
2013-07-07 11:00:49 +02:00
Daniel Greenfeld
038313c81c
merge
2013-07-06 18:33:44 +02:00
Michal Kuffa
075f887837
Added basic test for list_filter feature
2013-07-06 17:39:36 +02:00
Michal Kuffa
aefd7d8df0
Added simple test for presence of list_filter container
2013-07-06 16:48:42 +02:00
Michal Kuffa
04bb629a42
Removed unused imports
2013-07-06 16:47:52 +02:00
Michal Kuffa
d433013fcc
Merge remote-tracking branch 'upstream/develop' into list_filter
...
Conflicts:
djadmin2/views.py
2013-07-06 16:22:14 +02:00
Daniel Greenfeld
03acbe0486
Merge branch 'template_rename2' of git://github.com/bootandy/django-admin2 into bootandy-template_rename2
2013-07-06 16:19:12 +02:00
Michal Kuffa
473ea98f98
Added list_filter attribute to contrib's admin, admin2 definition of Post, Comment model admin.
2013-07-06 16:09:03 +02:00
bootandy
a8cf4554ad
more example template admin2 reference to djadmin2
2013-07-06 15:56:46 +02:00
bootandy
1ef08cc20f
first itteration
2013-07-06 15:18:01 +02:00
NotSqrt
5889c5d849
i18n : fixes for tests -> use string interpolation, not positional interpolation
2013-07-06 13:33:52 +02:00
NotSqrt
5de843313b
make the examples use i18n
2013-07-06 13:33:52 +02:00
Audrey Roy
807b3776fb
Better example project home. Close #241 .
2013-07-06 10:57:00 +02:00
d1ffuz0r
256efa679e
#154 changed fbc action views behavior to cbv. added breadcrumbs to actions with multiple items
2013-06-17 11:56:37 +07:00
Daniel Greenfeld
56466a61bd
Merge branch 'implement_search_fields' of git://github.com/waustin/django-admin2 into waustin-implement_search_fields
2013-06-07 10:08:49 +02:00
Wade Austin
e199b13c3c
search_fields test cases
2013-06-06 16:25:36 -05:00
Wade Austin
858d39e5f4
Added search_fields to admin and admin2 class for the example project
2013-06-06 12:51:44 -05:00
Gregor Müllegger
b88587f682
Adding test to check if view permissions have been created.
2013-06-06 10:29:10 +02:00
Gregor Müllegger
1a04f285ff
Fixes #181 -- Choices were not copied for Select widgets for floppified forms.
2013-06-04 22:31:59 +02:00
Daniel Greenfeld
39a4d01706
Test fixes
2013-06-04 11:35:47 +02:00
Daniel Greenfeld
b7feb5f284
Merge branch 'drop_down_fires_nothing_selected' of git://github.com/waustin/django-admin2 into waustin-drop_down_fires_nothing_selected
2013-06-04 11:21:07 +02:00
Wade Austin
4b8b8d8b47
Fix for Issue #178
...
If an action is selected and no objects are selected the message "Items must be selected in order to perform actions on them. No items have been changed." is displayed instead of the user being sent to Action confirmation screen.
2013-06-03 21:09:41 -05:00
Ludvig Wadenstein
9c296ccff5
Updated tests
2013-06-02 21:09:04 +02:00
Daniel Greenfeld
7827bf0003
fixes #159 and lays the ground for more things
2013-06-01 18:02:01 +02:00
Daniel Greenfeld
972968b5b1
Move towards internal consistency of URL name definitions
2013-06-01 13:48:53 +02:00
Daniel Greenfeld
1195f38b84
More work on admin
2013-05-31 17:38:34 +02:00
Daniel Greenfeld
0da6f453b7
For #161 , this removes the FBV and implements an easily extendible BaseListAction class
2013-05-31 16:47:25 +02:00
Daniel Greenfeld
be07421d44
Removed admins.py and placed calls to ModelAdmin2 from top namespace
2013-05-31 08:57:25 +02:00
Daniel Greenfeld
fd6c0a57b3
Added Roman Gladkov as a contributor, PEP8 and djadmin2 standards fixes
2013-05-31 08:36:09 +02:00
d1ffuz0r
cff5674539
revert auth tests
2013-05-31 10:37:14 +07:00
d1ffuz0r
db939ef753
fixed names
2013-05-31 08:25:45 +07:00
d1ffuz0r
8dd3cd4133
added tests
2013-05-31 08:21:43 +07:00
d1ffuz0r
b54c28afc1
deleted LoginRequiredMixin
2013-05-31 07:39:58 +07:00
Daniel Greenfeld
9acdf9e2f8
fixes #155 , which is moving models.py to types.py. Using admins.py as an alias for the old models.py module
2013-05-30 12:33:00 +02:00
Ben Tappin
06302a7ed6
Tweak NestedObjects (and tests) comments.
2013-05-29 14:10:56 +01:00
Ben Tappin
11f193ffc9
UI improvements when deleting objects.
...
Shows nested child objects that will be deleted when deleting a single object or multiple objects.
Includes some hacky tests for NestedObjects in the example app.
2013-05-29 12:38:32 +01:00
Gregor Müllegger
c0a3df680c
Fix permission denied errors for API views.
2013-05-29 10:47:45 +02:00
Gregor Müllegger
635bbca553
Adding |for_view filter to bind permissions for a view name.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
9ce77ae572
Adding possibility to traverse permissions by admin name.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
2aca9df7e2
Adding possibility to swap model admin that is checked for permissions in the template.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
c6a11efca8
Adding ability to check for permissions of any registered model admin in the templates.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
ab778191c6
Adding the ability to check for permissions in templates.
2013-05-29 10:44:22 +02:00
Gregor Müllegger
0c7615b733
Implementing a class-based permission handling.
2013-05-29 10:43:09 +02:00
Ben Tappin
30cacb7569
Use PK instead of ID in the model list view and template.
2013-05-24 12:06:35 +01:00
Daniel Greenfeld
a3eea0aaf9
Merge branch 'bugfix/delete-action-message-display' of git://github.com/chrislawlor/django-admin2 into chrislawlor-bugfix/delete-action-message-display
2013-05-23 22:30:24 +02:00
Chris Lawlor
396f49665e
Fixes message display after action handling.
...
Calls unicode to force encoding of object name to a localized
unicode string. Also fixes deleted object count by saving
len(queryset) to a local var before calling queryset.delete(), as
the len after queryset.delete() is always zero.
2013-05-23 15:37:50 -04:00
Gregor Müllegger
d10838c2ed
Don't copy input_type attribute from original widget when the floppyform widget has a much more appropriate HTML5 type.
2013-05-23 20:59:35 +02:00
Gregor Müllegger
494b999922
Fixed #138 -- UserCreateForm and UserUpdateForm get floppified.
2013-05-23 20:16:19 +02:00
Daniel Greenfeld
638ae91756
PEP-8 work
2013-05-23 19:30:15 +02:00
Daniel Greenfeld
5129541154
merge and adding requirements for floppy-forms
2013-05-23 19:23:23 +02:00
Daniel Greenfeld
a62d3aceff
merge conflict resolutions
2013-05-23 13:01:27 +02:00
Gregor Müllegger
77fa844184
Also take form field into account when floppifying widgets. That way all specific floppyform widgets will be used for modelforms (like EmailInput, NumberInput, etc.).
2013-05-22 22:16:03 +02:00