mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 16:02:54 +00:00 
			
		
		
		
	Rename exceptions.py to avoid shadowing built-in module
This commit is contained in:
		@@ -4,7 +4,7 @@ from flask import Flask, render_template, request, session, url_for
 | 
			
		||||
 | 
			
		||||
from model import init_db
 | 
			
		||||
from user_ops import UserOps
 | 
			
		||||
from exceptions import InvalidCredentialsError, UserExistsError
 | 
			
		||||
from errors import InvalidCredentialsError, UserExistsError
 | 
			
		||||
 | 
			
		||||
BASEURL = getenv('BASEURL', '')
 | 
			
		||||
init_db()
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
from crypto import PasswordHasher
 | 
			
		||||
from model import Session, User
 | 
			
		||||
from exceptions import InvalidCredentialsError, UserExistsError
 | 
			
		||||
from errors import InvalidCredentialsError, UserExistsError
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class UserOps:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user