MCPcopy Create free account

hub / github.com/ColinWaddell/TapsAff-Django / functions

Functions108 in github.com/ColinWaddell/TapsAff-Django

↓ 47 callersFunctionquickElement
()
static/admin/js/core.js:8
↓ 21 callersMethodget
(self, request, location=None)
www/views.py:34
↓ 10 callersFunction_test_taps_aff
(code, temp_f, daytime)
www/taps/forecast.py:88
↓ 5 callersFunctionf
(a,e,d)
static/admin/js/inlines.min.js:4
↓ 4 callersFunction_get_description
(code)
www/taps/forecast.py:111
↓ 4 callersFunction_make_settings
Create or update the singleton Settings row with sensible test values.
www/tests.py:44
↓ 4 callersFunctionfindPosX
(obj)
static/admin/js/core.js:35
↓ 4 callersFunctionh
()
static/admin/js/actions.min.js:2
↓ 4 callersFunctionis_taps_aff
(code, temp_f, daytime=True)
www/taps/forecast.py:173
↓ 4 callersFunctionmove_selection
(e, elem, move_func, from, to)
static/admin/js/SelectFilter2.js:114
↓ 4 callersFunctionquery
Look up the weather for `location_request`, falling back to `location_default` if missing or unknown. Always returns a packet - if both lookup
www/taps/forecast.py:178
↓ 4 callersFunctionupdateCounter
()
static/admin/js/actions.js:42
↓ 4 callersFunctionwindowname_to_id
(text)
static/admin/js/admin/RelatedObjectLookups.js:18
↓ 3 callersFunction_make_weather
(code=1000, description="Sunny", scots="Braw", terrible=False, delta=0.0)
www/tests.py:58
↓ 3 callersMethodcurrent
Return the singleton row, creating it with defaults if missing.
www/models.py:32
↓ 3 callersFunctionupdateElementIndex
(el, prefix, ndx)
static/admin/js/inlines.js:24
↓ 2 callersFunctionGetClothingIcon
(code, temp_high_f)
www/tapmap/codetoicon.py:18
↓ 2 callersFunctionGetWeatherIcon
(code, daytime)
www/tapmap/codetoicon.py:33
↓ 2 callersFunctionURLify
(s, num_chars, allowUnicode)
static/admin/js/urlify.js:161
↓ 2 callersFunction_build_forecast
(packet, raw)
www/taps/forecast.py:136
↓ 2 callersFunction_grab_forecast_data
Fetch a forecast for `location`, caching by location name. TTL is taken from the singleton Settings row's `cache_seconds` field so it can be
www/taps/forecast.py:25
↓ 2 callersFunctionchecker
(checked)
static/admin/js/actions.js:33
↓ 2 callersFunctionclearAcross
()
static/admin/js/actions.js:28
↓ 2 callersFunctionfindPosY
(obj)
static/admin/js/core.js:53
↓ 2 callersFunctiong
()
static/admin/js/inlines.min.js:7
↓ 2 callersFunctiongetStyle
(oElm, strCssRule)
static/admin/js/core.js:199
↓ 2 callersFunctionh
(a)
static/admin/js/inlines.min.js:9
↓ 2 callersFunctioninitPrepopulatedFields
(row)
static/admin/js/inlines.js:179
↓ 2 callersFunctionl
()
static/admin/js/actions.min.js:1
↓ 2 callersFunctionm
()
static/admin/js/actions.min.js:1
↓ 2 callersFunctionn
()
static/admin/js/actions.min.js:1
↓ 2 callersFunctionp
()
static/admin/js/actions.min.js:1
↓ 2 callersFunctionq
(c)
static/admin/js/actions.min.js:2
↓ 2 callersFunctionreinitDateTimeShortCuts
()
static/admin/js/inlines.js:156
↓ 2 callersFunctionreset
()
static/admin/js/actions.js:22
↓ 2 callersFunctionshowAdminPopup
(triggeringLink, name_regexp, add_popup)
static/admin/js/admin/RelatedObjectLookups.js:24
↓ 2 callersFunctionshowClear
()
static/admin/js/actions.js:15
↓ 2 callersFunctionshowQuestion
()
static/admin/js/actions.js:10
↓ 2 callersFunctionupdateSelectFilter
()
static/admin/js/inlines.js:164
↓ 1 callersFunctionGetTemperatureStatus
(temp_high_c, weather)
www/tapmap/codetoicon.py:5
↓ 1 callersFunction_build_daily_forecast
(forecast)
www/taps/forecast.py:46
↓ 1 callersFunction_build_packet
()
www/taps/forecast.py:119
↓ 1 callersFunctionalternatingRows
(row)
static/admin/js/inlines.js:150
↓ 1 callersFunctionbuild_url
(location, api_key)
www/taps/weathercom.py:4
↓ 1 callersFunctioncalendarMonth
(y, m)
static/admin/js/calendar.js:103
↓ 1 callersFunctiondowncode
(slug)
static/admin/js/urlify.js:153
↓ 1 callersFunctionfindForm
(node)
static/admin/js/SelectFilter2.js:9
↓ 1 callersFunctionget_weather
(location, api_key)
www/taps/weathercom.py:15
↓ 1 callersFunctionid_to_windowname
(text)
static/admin/js/admin/RelatedObjectLookups.js:12
↓ 1 callersFunctioninit
($element, options)
static/admin/js/autocomplete.js:3
↓ 1 callersFunctionremoveChildren
(a)
static/admin/js/core.js:24
↓ 1 callersFunctionresize_filters
()
static/admin/js/SelectFilter2.js:169
↓ 1 callersMethodsave
(self, *args, **kwargs)
www/models.py:25
↓ 1 callersFunctionshowRelatedObjectLookupPopup
(triggeringLink)
static/admin/js/admin/RelatedObjectLookups.js:40
↓ 1 callersFunctionshowRelatedObjectPopup
(triggeringLink)
static/admin/js/admin/RelatedObjectLookups.js:55
↓ 1 callersFunctionupdateInlineLabel
(row)
static/admin/js/inlines.js:217
↓ 1 callersFunctionupdateRelatedObjectLinks
(triggeringLink)
static/admin/js/admin/RelatedObjectLookups.js:59
↓ 1 callersMethodvalid_headers
(self, row)
www/management/commands/import_weather_csv.py:37
FunctionCalendar
(div_id, callback, selected)
static/admin/js/calendar.js:148
Method__str__
(self)
www/models.py:22
Method__str__
(self)
www/models.py:50
Method__str__
(self)
www/models.py:57
Method_build_map
()
www/views.py:49
Methodadd_arguments
(self, parser)
www/management/commands/import_weather_csv.py:34
Functionclothing_icon
(code, temp_f)
www/templatetags/clothing_icon.py:7
FunctiondismissAddRelatedObjectPopup
(win, newId, newRepr)
static/admin/js/admin/RelatedObjectLookups.js:76
FunctiondismissChangeRelatedObjectPopup
(win, objId, newRepr, newId)
static/admin/js/admin/RelatedObjectLookups.js:101
FunctiondismissDeleteRelatedObjectPopup
(win, objId)
static/admin/js/admin/RelatedObjectLookups.js:120
FunctiondismissRelatedLookupPopup
(win, chosenId)
static/admin/js/admin/RelatedObjectLookups.js:44
Methodget
(self, request, location=None)
www/views.py:13
Methodget
(self, request, show="")
www/views.py:46
Functionget_clothing
()
www/tapmap/icons.py:27
Functionget_weather
()
www/tapmap/icons.py:11
Functionh
()
static/admin/js/prepopulate.min.js:1
Methodhandle
(self, *args, **options)
www/management/commands/import_weather_csv.py:56
FunctiononClick
(e)
static/admin/js/calendar.js:104
FunctionparseTimeString
(s)
static/admin/js/timeparse.js:93
Functionpopulate
()
static/admin/js/prepopulate.js:16
Methodpost
(self, request)
www/views.py:28
MethodsetUp
(self)
www/tests.py:96
MethodsetUp
(self)
www/tests.py:118
MethodsetUp
(self)
www/tests.py:167
MethodsetUp
(self)
www/tests.py:238
Methodtest_admin
(self)
www/tests.py:90
Methodtest_api_with_location
(self)
www/tests.py:81
Methodtest_close_to_threshold_gets_bawhair_message
(self)
www/tests.py:188
Methodtest_clothing_map_renders_svg
(self, mock_icons)
www/tests.py:136
Methodtest_default_location_failure_returns_packet_with_error
(self, mock_grab)
www/tests.py:242
Methodtest_get_default_location
(self, mock_query)
www/tests.py:100
Methodtest_get_description_returns_english_and_scots
(self)
www/tests.py:214
Methodtest_get_with_location
(self, mock_query)
www/tests.py:107
Methodtest_index_root
(self)
www/tests.py:75
Methodtest_index_with_location
(self)
www/tests.py:78
Methodtest_is_taps_aff_false_at_night
(self)
www/tests.py:226
Methodtest_is_taps_aff_false_when_oan
(self)
www/tests.py:223
Methodtest_is_taps_aff_true_when_aff
(self)
www/tests.py:220
Methodtest_map_clothing
(self)
www/tests.py:84
Methodtest_map_weather
(self)
www/tests.py:87
Methodtest_nighttime_stays_oan_even_when_hot
(self)
www/tests.py:199
Methodtest_returns_json
(self, mock_query)
www/tests.py:122
next →1–100 of 108, ranked by callers