mirror of https://github.com/nanoy42/coope
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
383 B
11 lines
383 B
from django.forms.widgets import Select, Input
|
|
from django.template import Context, Template
|
|
from django.template.loader import get_template
|
|
|
|
class SearchField(Input):
|
|
|
|
def render(self, name, value, attrs=None):
|
|
#super().render(name, value, attrs)
|
|
template = get_template('search_field.html')
|
|
context = Context({})
|
|
return template.render(context)
|
|
|