CM Lubinski
9ecaa3836c
Add migration to convert bytes to unicode.
...
Python 2 and 3 treat strings differently; in 2 they are bytes and in 3 they
are unicode objects. The Theme fields' attributes were encoded as bytes in the
initial migration (0001) but should be unicode values, leading to a missing
migration whenever the code is ran on Python 3. This changeset "alters" all
the fields to set them to have unicode attributes rather than bytes.
For more context, we've more or less followed the steps outlined here:
https://docs.djangoproject.com/en/1.11/topics/migrations/#supporting-python-2-and-3
2017-06-09 11:41:15 -04:00
CM Lubinski
8fe6ffd3b2
Specify a max_length on all ColorFields.
...
Django-colorfield bumped up its default max_length from 10 to 18 characters in
bfe421b8. Though we've pinned the version of colorfields we're depending on,
we can make the future version upgrade easier now by locking our fields to
having a max length of 10 chars.
2017-06-09 11:26:46 -04:00
Bruno Alla
09bd082759
Fix the error on older versions of Django
2017-06-09 15:44:23 +01:00
Bruno Alla
70b4be757d
Fix a Django deprecation warning
...
Replace deprecated assignment_tag:
`python/lib/python3.5/site-packages/admin_interface/templatetags/admin_interface_tags.py:11: RemovedInDjango20Warning: assignment_tag() is deprecated. Use simple_tag() instead`
2017-06-09 15:12:00 +01:00
Fabio Caccamo
486bfa9aba
Updated version
2017-06-09 11:58:26 +02:00
Fabio Caccamo
e19cd51803
Added per-request cache to get_admin_interface_theme template tag #19
2017-06-09 11:58:10 +02:00
Fabio Caccamo
ef35236c58
Updated version
2017-05-24 12:02:27 +02:00
Fabio Caccamo
eb676d9841
Added 3 themes as fixtures (django, bootstrap, foundation)
2017-05-24 12:01:25 +02:00
Fabio Caccamo
2301eedc8b
Added possibility to hide recent actions
2017-05-24 11:57:08 +02:00
Fabio Caccamo
2bc5c9f9ce
Removed double space in field declaration
2017-05-24 11:56:16 +02:00
Fabio Caccamo
44bae8b515
Changed modeltranslation active tab font-weight to bold
2017-05-24 11:55:23 +02:00
Fabio Caccamo
ed34055290
Renamed field css_header_title_color to title_color according to logo_color
2017-05-24 11:53:33 +02:00
Fabio Caccamo
8a9842c219
Added possibility to customize the default logo color
2017-05-24 11:44:46 +02:00
Fabio Caccamo
b449a1140c
Fixed related-modal preloader background image url urlencode
2017-05-24 11:31:36 +02:00
Fabio Caccamo
f3c7695409
Merge branch 'master' of https://github.com/fabiocaccamo/django-admin-interface
2017-05-23 10:43:01 +02:00
Bruno Alla
f6c8e84b7b
Fix representation of Theme models on Python 3
2017-05-22 18:21:51 +01:00
Fabio Caccamo
b25cf463eb
Fixed theme switching bug
2017-05-22 18:56:22 +02:00
Fabio Caccamo
4ef14c248a
Fixed filter horizontal css height
2017-05-22 18:56:00 +02:00
Fabio Caccamo
165a8e4572
Updated version
2017-05-19 12:59:19 +02:00
Fabio Caccamo
a6df45a571
Improved responsive m2m selector, ckeditor and sorl-thumbnail widgets
2017-05-19 12:59:02 +02:00
Fabio Caccamo
b24c6010d2
Updated version
2017-05-18 10:56:19 +02:00
Fabio Caccamo
bb2dd77646
Fixed django-storages compatibility - #16
2017-05-18 10:56:06 +02:00
Fabio Caccamo
60f451d073
Updated version
2017-05-16 18:39:12 +02:00
Fabio Caccamo
4c182157eb
Moved css to external files and added .admin-interface body class
2017-05-16 18:38:59 +02:00
Fabio Caccamo
dd9de6ba42
Rendered admin logo width and height attributes only if available
2017-05-16 18:38:06 +02:00
Fabio Caccamo
a09e13fb00
Fixed default theme logo reset if the logo exists
2017-05-16 18:36:39 +02:00
Fabio Caccamo
c3cf8e4d10
Updated version
2017-05-11 16:55:32 +02:00
Fabio Caccamo
a6ae4230f6
Improved scripts and styles order
2017-05-11 16:54:43 +02:00
Fabio Caccamo
07dc59747d
Changed static files template tag
2017-05-11 16:54:14 +02:00
Fabio Caccamo
690d28dd8c
Improved admin title generation
2017-05-11 16:53:19 +02:00
Fabio Caccamo
8db8528542
Fixed magnific-popup initialization error in admin pages without jquery
2017-05-11 16:52:34 +02:00
Fabio Caccamo
cfac48db5d
Enforced default theme logo creation
2017-05-11 12:07:35 +02:00
Fabio Caccamo
875269e314
Updated version
2017-05-04 17:58:40 +02:00
Fabio Caccamo
775f1cf42b
Added related modal support (related objects popup displayed in modal window)
2017-05-04 17:58:19 +02:00
Fabio Caccamo
cc0474940f
Moved responsive css to extrahead block
2017-05-04 17:55:28 +02:00
Fabio Caccamo
97896e3690
Added more comments to custom css
2017-05-04 17:51:46 +02:00
Fabio Caccamo
6a723e5515
Fixed inlines help text and error text margin-left
2017-05-04 17:43:09 +02:00
Fabio Caccamo
fdf3b418f9
Removed theme active check in templates
2017-05-04 17:42:11 +02:00
Fabio Caccamo
c784a083f3
Updated version
2017-04-14 13:13:30 +02:00
Fabio Caccamo
e9e950dda3
Fix error message margin left
2017-04-04 18:09:17 +02:00
Fabio Caccamo
3c4ea399e2
Updated version
2017-03-29 18:57:11 +02:00
Fabio Caccamo
a28fe1c5e0
Improved Theme.get_active_theme method
2017-03-29 18:57:01 +02:00
Fabio Caccamo
f0126fb407
Updated version
2017-03-29 16:24:22 +02:00
Fabio Caccamo
a35f8d0fb7
Dropped django < 1.7 support
2017-03-29 16:21:02 +02:00
Fabio Caccamo
d29515c4ae
Code refactoring
2017-03-29 16:20:07 +02:00
Fabio Caccamo
ff2d05e44c
Fixed changelist filter header style
2017-02-16 11:30:44 +01:00
Fabio Caccamo
6e5cbf3a2c
Fixed tools button focus color
2017-02-16 11:29:56 +01:00
Fabio Caccamo
55b365b2e4
Updated version
2017-02-09 16:25:25 +01:00
Fabio Caccamo
3203b437df
Added horizontal scroll to long inlines to prevent full page scroll
2017-02-09 16:08:50 +01:00
Fabio Caccamo
202b5fa4aa
Changed inlines delete buttons alignement
2017-02-09 16:07:52 +01:00
Fabio Caccamo
9fdc3a0268
Fixed help text alignement in wide inlines
2017-02-09 16:04:40 +01:00
Fabio Caccamo
ded2fee89c
Fixed issue #13 - Datetime widget broken in long inlines
2017-02-09 15:08:58 +01:00
Fabio Caccamo
beec7242c6
Removed old code and added comment to previous fix
2017-02-09 15:08:37 +01:00
Fabio Caccamo
7a6a29b110
Fixed issue #12 - Inlines bad delete buttons alignement
2017-02-09 14:44:26 +01:00
Fabio Caccamo
1f3bb6514c
Fixed issue #10 - Related widget broken in long tabular inline
2017-02-09 13:03:00 +01:00
Fabio Caccamo
b416b46c5a
Updated dynamic css indentation
2017-02-09 12:51:49 +01:00
Fabio Caccamo
59f1831cbd
Fixed issue #11 - Inline border bottom should not be rounded
2017-02-09 12:50:36 +01:00
Fabio Caccamo
20050e2964
Removed duplicated code
2017-02-09 12:40:49 +01:00
Fabio Caccamo
fd292ed1bf
Fixed help text alignement in wide inlines
2017-02-07 16:06:05 +01:00
Fabio Caccamo
fac0f690df
Fixed breadcrumbs link focus color
2017-02-07 15:59:17 +01:00
Fabio Caccamo
a924c6cf5e
Updated version
2016-11-08 12:17:53 +01:00
Fabio Caccamo
42b6e01f1f
Added responsive support
2016-11-08 12:17:24 +01:00
Fabio Caccamo
d7fa681c56
Fixed login padding
2016-11-08 12:15:42 +01:00
Fabio Caccamo
18e1425156
Updated version
2016-09-10 18:49:31 +02:00
Fabio Caccamo
1f39ceb0ad
Fixed missing admin title #7
2016-09-10 18:49:20 +02:00
Fabio Caccamo
48cb73a604
Updated version
2016-09-04 18:44:07 +02:00
Fabio Caccamo
793a019460
Fixed buttons color on focus and removed outline.
2016-09-04 18:43:29 +02:00
Fabio Caccamo
07a51c1678
Updated version
2016-08-05 10:37:24 +02:00
Fabio Caccamo
a58605a385
Renamed var
2016-08-05 10:36:59 +02:00
Paulo Cereigido
e5e55bdfcd
adding filename to File from Django 1.10 compatibility
2016-08-05 01:29:53 -03:00
Fabio Caccamo
b4b19650f1
Updated version
2016-06-29 16:05:34 +02:00
Fabio Caccamo
3d4f249487
Improved backward compatibility with South
2016-06-29 16:05:13 +02:00
Fabio Caccamo
7c236c6641
Updated version and dependencies version
2016-04-13 17:25:54 +02:00
Fabio Caccamo
91b3809d61
Improved sorl-thumbnail AdminImageMixin widget layout
2016-04-12 18:03:50 +02:00
Fabio Caccamo
f918551971
Fixed login logo overflow
2016-04-11 17:53:50 +02:00
Fabio Caccamo
54f120c9ba
Updated version
2016-02-24 10:04:49 +01:00
Fabio Caccamo
816c05bebd
Cleaned whitespace
2016-02-24 10:04:35 +01:00
Fabio Caccamo
710370e903
Fixed Django 1.9 support
2016-02-24 10:03:19 +01:00
Fabio Caccamo
10476e5675
Updated version
2016-02-15 16:21:27 +01:00
Fabio Caccamo
0ed341bdfd
Cleaned white-space
2016-02-15 16:20:53 +01:00
Fabio Caccamo
dd8a556d79
Fixed list filter selected link color
2016-02-15 16:20:35 +01:00
Fabio Caccamo
f1c37feacb
Improved fieldsets alignment and links colors
2016-02-15 16:01:28 +01:00
Fabio Caccamo
12078589aa
Updated version
2015-12-03 11:45:37 +01:00
Fabio Caccamo
98d7153b24
Added admin-interface and flat-theme body classes
2015-12-03 11:44:34 +01:00
Fabio Caccamo
48a226ca9f
Updated version
2015-11-25 19:27:06 +01:00
Fabio Caccamo
8752520ebe
Fixed dashboard modules links color
2015-11-25 19:26:31 +01:00
Fabio Caccamo
a006fef0e0
Removed duplicated css rules
2015-11-25 19:25:29 +01:00
Fabio Caccamo
a18ec73656
Add migrations
2015-11-25 19:07:03 +01:00
Fabio Caccamo
159b6ff694
Added ckeditor light skin
2015-11-10 17:36:46 +01:00
Fabio Caccamo
9080948f7c
Added support to dropdown list filter
2015-11-10 17:35:54 +01:00
Fabio Caccamo
d2846b7420
Added post_migrate handler to create the default theme after install
2015-11-10 17:35:14 +01:00
Fabio Caccamo
25528e0907
Added sources
2015-10-26 22:36:53 +01:00