We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33b50a8 + 484974a commit 9eabcaaCopy full SHA for 9eabcaa
docs/index.md
@@ -1106,7 +1106,7 @@ But there is another way. You can send `params` in key constructor initializatio
1106
keys are bit names and values are bit `params` attribute value (look at `CountryView`):
1107
1108
class CityKeyConstructor(DefaultKeyConstructor):
1109
- geoip = bits.RequestMetaKeyBit(params=['GEOIP_COUNTRY'])
+ geoip = bits.RequestMetaKeyBit(params=['GEOIP_CITY'])
1110
1111
class CityView(views.APIView):
1112
@cache_response(key_func=CityKeyConstructor())
0 commit comments