Code Monkey home page Code Monkey logo

Comments (5)

ilizaran avatar ilizaran commented on September 18, 2024

Hello, I have the same problem.

I get this error when launching my application and I can't add new rows.

I'm using:
appdirs==1.4.3
Django==1.10.7
django-autocomplete-light==3.2.4
django-debug-toolbar==1.7
django-nested-admin==3.0.17
django-tabbed-admin==1.0.1
django-tables2==1.4.2
mysql==0.0.1
MySQL-python==1.2.5
packaging==16.8
pkg-resources==0.0.0
pyparsing==2.2.0
python-monkey-business==1.0.0
pytz==2017.2
six==1.10.0
sqlparse==0.2.3

when I remove django-tabbed-admin there aren't any problem.

in admin.py:
class MyAdmin(NestedModelAdminMixin, TabbedModelAdmin):
...

Thanks.

from django-tabbed-admin.

ilizaran avatar ilizaran commented on September 18, 2024

I have changed to jQuery UI 1.12.1 in django-tabbed-admin and my project works correctly.

from django-tabbed-admin.

albarranGithub avatar albarranGithub commented on September 18, 2024

I have changed the static/tabbed_admin/css/jquery-ui-1.11.4.min.css and static/tabbed_admin/js/jquery-ui-1.11.4.min.js files by version 1.12.1 and lost the tabs. But the inlines is ok.
You can tell me a bit as you updated it to 1.12.1 tabs_admin?

Thank you

from django-tabbed-admin.

ilizaran avatar ilizaran commented on September 18, 2024

I have changed the env/lib/python2.7/site-packages/tabbed_admin/admin.py:
(line 154)
if USE_JQUERY_UI:
css['all'] =
("tabbed_admin/css/jquery-ui.min.css",
"tabbed_admin/css/tabbed_admin.css", ) + css.get('all', ())
js = ["tabbed_admin/js/jquery-ui.min.js"]

And I have copied jquery-ui.min.css and jquery-ui.min.js (version 1.12.1) in static/tabbed_admin/css and js.

In my setting.py:

INSTALLED_APPS = [
'nested_admin',
'tabbed_admin',
'django.contrib.admin',
'django.contrib.auth',
...

Regards

from django-tabbed-admin.

albarranGithub avatar albarranGithub commented on September 18, 2024

Thank, all ok.

from django-tabbed-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.