profile: fix address autocomplete JS loading (#47796)
This commit is contained in:
parent
4fed275ba3
commit
11869fb4b8
|
@ -35,6 +35,7 @@ from django.db.models import query
|
|||
|
||||
from django.utils.functional import keep_lazy
|
||||
|
||||
from gadjo.templatetags.gadjo import xstatic
|
||||
from rest_framework import serializers
|
||||
from rest_framework.fields import empty
|
||||
|
||||
|
@ -117,6 +118,7 @@ class AddressAutocompleteInput(forms.Select):
|
|||
|
||||
class Media:
|
||||
js = [
|
||||
xstatic('jquery.js', 'jquery.min.js'),
|
||||
settings.SELECT2_JS,
|
||||
'authentic2/js/address_autocomplete.js',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue