Merge branch 'django3.2' into test
This commit is contained in:
		
						commit
						57659aa16a
					
				
					 3 changed files with 11 additions and 10 deletions
				
			
		|  | @ -348,4 +348,5 @@ class InvalidTemplateVariable(str): | |||
|         return '' | ||||
| TEMPLATES[0]['OPTIONS']['string_if_invalid'] = InvalidTemplateVariable('%s') | ||||
| 
 | ||||
| 
 | ||||
| # Django 3.2 vyžaduje explicitní nastavení autoklíče, zatím nechápu proč | ||||
| DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' | ||||
|  |  | |||
|  | @ -52,7 +52,7 @@ class Seznam_PrednaskaInline(admin.TabularInline): | |||
| 	] | ||||
| 	exclude = ['prednaska'] | ||||
| 
 | ||||
| 	def has_add_permission(self, req): return False | ||||
| 	def has_add_permission(self, req, obj): return False | ||||
| 
 | ||||
| 
 | ||||
| class SeznamAdmin(VersionAdmin): | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| -c constraints.txt | ||||
| # basic libs | ||||
| 
 | ||||
| psycopg2<2.9 # Kvůli djangu 2.2, odstranit při přechodu na 3. | ||||
| psycopg2 | ||||
| html5lib | ||||
| ipython | ||||
| Pillow | ||||
|  | @ -13,7 +13,7 @@ Unidecode | |||
| 
 | ||||
| # Django and modules | ||||
| 
 | ||||
| Django<2.3 | ||||
| Django<3.3 | ||||
| #django-bootstrap-sass | ||||
| django-mptt | ||||
| django-reversion | ||||
|  | @ -34,14 +34,14 @@ django-webpack-loader | |||
| django-rest-polymorphic | ||||
| 
 | ||||
| # Comments | ||||
| django-contrib-comments==1.9.0 | ||||
| django-contrib-comments | ||||
| 
 | ||||
| # debug tools/extensions | ||||
| 
 | ||||
| django-debug-toolbar==1.11 | ||||
| django-extensions==2.1.9 | ||||
| sqlparse==0.2.4 | ||||
| Werkzeug==0.14.1 | ||||
| django-debug-toolbar | ||||
| django-extensions | ||||
| sqlparse | ||||
| Werkzeug | ||||
| 
 | ||||
| # G+, FB authorisation | ||||
| 
 | ||||
|  | @ -52,7 +52,7 @@ requests | |||
| # requests-oauthlib | ||||
| 
 | ||||
| # uWSGI | ||||
| uWSGI==2.0.17.1 | ||||
| uWSGI | ||||
| 
 | ||||
| # Potřeba pro test data | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky