Services Blog Français

DAL 3.1.6 release

| by jpic | django python django-autocomplete-light

django-autocomplete-light v3.1.6 was released, thanks to these fine contributions:

  • #671: Create_field support with querysetsequence by @jpic
  • #679: Allow create message translation by @maisim
  • #682: Extend ‘forward’ attribute to creating objects as well by @toudi
  • #666: Improved missing ‘created_field’ error by @guettli
  • #670: Javascript loading documentation by @jpic
  • #678: Added example to update autocompletes in JS by @jpic

django-autocomplete-light 3.1.5 release

| by jpic | django python django-autocomplete-light

This release enables field-forwarding in formsets and forms with prefix.

Also note that several things have been made to help users: a new tutorial section showing placeholder and minimum-input-length select2 options has been added and a system check will raise an error if select2’s js is not present - typically for users who have git clone’d the repo without --recursive, resulting in a wc without select2.

For devs, we’ve moved from django-sbo-selenium to pytest+splinter and it’s pretty cool !

Read More

django-dbdiff 0.6.0 release

| by jpic | python django best-practice django-dbdiff

django-dbdiff was released. It allows to exclude fields from tests with the new exclude parameter, ie::

        Fixture(
            'tweets/tests/after_create_retweet.json',
            models=[Tweet, Retweets],
        ).assertNoDiff(
            exclude={
                'tweets.tweet': ['datetime'],
                'tweets.retweets': ['datetime'],
            },
        }

This was initially requested by Nicolas Joyard for the Political Memory project.

Note that you shouldn’t use exclude for datetimes like in the above example, but instead use something like freezegun to force datetimes to an arbitrary fixture.

Previous Page 19 of 32 Next Page

They trust us

Contact

logo