This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html --> | |
<ShortName>WordHippo Synonyms</ShortName> | |
<Description>WordHippo Synonyms</Description> | |
<Url type="text/html" method="get" template="https://www.wordhippo.com/what-is/another-word-for/{searchTerms}.html"/> | |
<Image width="16" height="16" type="image/x-icon">https://www.wordhippo.com/favicon.ico</Image> | |
<InputEncoding>UTF-8</InputEncoding> | |
<moz:SearchForm>https://www.wordhippo.com/</moz:SearchForm> | |
<moz:UpdateUrl>https://www.wordhippo.com/</moz:UpdateUrl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html --> | |
<ShortName>Grimms Wörterbuch</ShortName> | |
<Description>Grimms Wörterbuch</Description> | |
<Url type="text/html" method="get" template="https://www.woerterbuchnetz.de/DWB/{searchTerms}"/> | |
<Image width="16" height="16" type="image/x-icon">https://www.woerterbuchnetz.de/DWB/favicon.ico</Image> | |
<InputEncoding>UTF-8</InputEncoding> | |
<moz:SearchForm>https://www.woerterbuchnetz.de/DWB/</moz:SearchForm> | |
<moz:UpdateUrl>https://www.woerterbuchnetz.de/DWB/opensearch.xml</moz:UpdateUrl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html --> | |
<ShortName>CNRTL Etymologie</ShortName> | |
<Description>CNRTL Etymologie Recherche</Description> | |
<Url type="text/html" method="get" template="https://cnrtl.fr/etymologie/{searchTerms}"/> | |
<Image width="16" height="16" type="image/x-icon">https://cnrtl.fr/favicon.ico</Image> | |
<InputEncoding>UTF-8</InputEncoding> | |
<moz:SearchForm>https://cnrtl.fr/etymologie/</moz:SearchForm> | |
<moz:UpdateUrl>https://cnrtl.fr/etymologie/opensearch.xml</moz:UpdateUrl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<!-- Generated by http://www.7is7.com/software/firefox/opensearch.html --> | |
<ShortName>CNRTL Synonymie</ShortName> | |
<Description>CNRTL Synonymie Recherche</Description> | |
<Url type="text/html" method="get" template="https://cnrtl.fr/synonymie/{searchTerms}"/> | |
<Image width="16" height="16" type="image/x-icon">https://cnrtl.fr/favicon.ico</Image> | |
<InputEncoding>UTF-8</InputEncoding> | |
<moz:SearchForm>https://cnrtl.fr/</moz:SearchForm> | |
<moz:UpdateUrl>https://cnrtl.fr/opensearch.xml</moz:UpdateUrl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +mountainofmoney is my blockchain ID. https://onename.com/mountainofmoney |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +mountainofmoney is my blockchain ID. https://onename.com/mountainofmoney |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +mountainofmoney is my blockchain ID. https://onename.com/mountainofmoney |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MongoModelChoiceField(ModelChoiceField): | |
# this works if you pass the field a queryset keyword argument. I doubt it works with a model as the argument | |
# does not support to_field_name, but that would be easy | |
def to_python(self, value): | |
if value in EMPTY_VALUES: | |
return None | |
# mongoengine has no deepcopy as yet, so we can't do: | |
# querycopy = self.queryset.copy() | |
# value = querycopy.filter(pk=value.pk).first() | |
# instead: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iso_639_choices = [('ab', 'Abkhaz'), | |
('aa', 'Afar'), | |
('af', 'Afrikaans'), | |
('ak', 'Akan'), | |
('sq', 'Albanian'), | |
('am', 'Amharic'), | |
('ar', 'Arabic'), | |
('an', 'Aragonese'), | |
('hy', 'Armenian'), | |
('as', 'Assamese'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# forms.py | |
from django import forms | |
from django.core import validators | |
from django.forms.widgets import RadioSelect,HiddenInput | |
from django.utils.safestring import mark_safe | |
from django.utils.encoding import StrAndUnicode, force_unicode | |
from django.utils.html import escape, conditional_escape | |
class CustomRadioInput(forms.widgets.RadioInput): |