Jordan Reiter

Results 12 issues of Jordan Reiter

Just change ``` def oembed(input, args): ``` to ``` def oembed(input, args=None): ``` You're testing whether args is a value anyway, so you might as well allow not entering a...

This is the code: def isin(self, arg: Union[list, tuple, set, "Term"]) -> "ContainsCriterion": if isinstance(arg, (list, tuple, set)): return ContainsCriterion(self, Tuple(*[self.wrap_constant(value) for value in arg])) return ContainsCriterion(self, arg) You'll notice...

Is there any interest in adjusting the code for Python so it can handle relative imports? It would be great if the plugin could link back to files within the...

feature
help wanted

Currently this.find('.md-editor') will not work since this refers to the textarea which does not contain .md-editor (it comes before). This change makes access to editor more explicit by putting it...

As far as I can tell these are all the features needed for Django 2.2 compatibility. I think technically SQL Server could support partial indexes but for now it can...

Not everyone creates a database from a Django app; sometimes they are making use of a legacy database, and sometimes that legacy database used a datetime field when really only...

Example code: from django.db.models import Count from django.db.models import functions from django.contrib.auth import get_user_model User = get_user_model() user_counts_by_letter = User.objects.annotate( first_letter=functions.Substr(User.USERNAME_FIELD, 1, 1) ).values('first_letter').annotate( user_count=Count('pk') ).order_by('first_letter') print(user_counts_by_letter.query) list(user_counts_by_letter) from django.db...

New setting: CAS_SERVER_URL_CALLBACK. Name of a callable (e.g. appname.utils.get_cas_server_url) that customizes server_url based on value for service. Updated version of closed PR #85 .

Not sure how to work around this, but I see that the user used to get the count is taken from `context['user']`. When a variable user is not explicitly set...