Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7944 > unrolled thread

django-ajax-selects

Started byBrian May <bam@debian.org>
First post2015-12-05 06:40 +0100
Last post2015-12-05 06:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

  django-ajax-selects Brian May <bam@debian.org> - 2015-12-05 06:40 +0100

#7944 — django-ajax-selects

FromBrian May <bam@debian.org>
Date2015-12-05 06:40 +0100
Subjectdjango-ajax-selects
Message-ID<qCdJD-4xh-7@gated-at.bofh.it>
Hello,

Wondered if I got get help with this package?

I raised issues I was having with lintian on debian-devel:
https://lists.debian.org/debian-devel/2015/11/msg00249.html

Discussions are continuing this month:
https://lists.debian.org/debian-devel/2015/12/msg00011.html

Problem is I can't actually see a solution that would make both upstream
and Debian happy.

Upstream chose this solution after much thought and consideration - if
jquery not already installed by the App, then we fetch it from an
external source. It was the only solution that would solve all their
problems. This allows the App to use a JQuery from a local source if
required, and also means that bootstrap.js can be a static file served
without Django getting involved (as we don't need to know how the app
has set STATIC_URL).

Unfortunately, it isn't a solution that Debian likes, and for good
reason.

However I cannot see a good solution for this, and I don't really like
to make changes to the package or suggest changes to upstream that break
compatability with existing apps either.

Such as:

* Truncate the bootstrap.js file, require all Apps include their own
  copy of jquery and jquery-ui.
* Require app use a provided template tag to include the
  django-ajax-selects recommended versions of jquery.
* Turn bootstrap.js into a Django template file.

I don't like any of these solutions, as either they have performance
implications or have compatability issues for existing Apps.

This is not a regression as such, however lintian has become more strict
about such issues, and lintian complains loudly.

Any suggestions?
-- 
Brian May <bam@debian.org>

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web