Added the "get_decoded" method to the MongoSession class (#216)
This commit is contained in:
		
							
								
								
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -139,3 +139,4 @@ that much better: | |||||||
|  * Gustavo Gawryszewski |  * Gustavo Gawryszewski | ||||||
|  * Max Countryman |  * Max Countryman | ||||||
|  * caitifbrito |  * caitifbrito | ||||||
|  |  * lcya86 刘春洋 | ||||||
| @@ -44,6 +44,7 @@ Changes in 0.8.X | |||||||
| - Added Django Group and Permission (#142) | - Added Django Group and Permission (#142) | ||||||
| - Added Doc class and pk to Validation messages (#69) | - Added Doc class and pk to Validation messages (#69) | ||||||
| - Fixed Documents deleted via a queryset don't call any signals (#105) | - Fixed Documents deleted via a queryset don't call any signals (#105) | ||||||
|  | - Added the "get_decoded" method to the MongoSession class (#216) | ||||||
|  |  | ||||||
| Changes in 0.7.9 | Changes in 0.7.9 | ||||||
| ================ | ================ | ||||||
|   | |||||||
| @@ -25,6 +25,7 @@ MONGOENGINE_SESSION_DATA_ENCODE = getattr( | |||||||
|     settings, 'MONGOENGINE_SESSION_DATA_ENCODE', |     settings, 'MONGOENGINE_SESSION_DATA_ENCODE', | ||||||
|     True) |     True) | ||||||
|  |  | ||||||
|  |  | ||||||
| class MongoSession(Document): | class MongoSession(Document): | ||||||
|     session_key = fields.StringField(primary_key=True, max_length=40) |     session_key = fields.StringField(primary_key=True, max_length=40) | ||||||
|     session_data = fields.StringField() if MONGOENGINE_SESSION_DATA_ENCODE \ |     session_data = fields.StringField() if MONGOENGINE_SESSION_DATA_ENCODE \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user