Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AttributeError: module 'back_office.settings' has no attribute 'NAME'
- File "apps/billing/views.py", line 133, in upload_services_prices
- upload_service_prices.change_prices(prices_file)
- File "utils/upload_service_prices.py", line 215, in change_prices
- conn = get_connection()
- File "utils/upload_service_prices.py", line 20, in get_connection
- database=settings.NAME,
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'AttributeError'
- File "django/core/handlers/exception.py", line 34, in inner
- response = get_response(request)
- File "django/core/handlers/base.py", line 126, in _get_response
- response = self.process_exception_by_middleware(e, request)
- File "django/core/handlers/base.py", line 124, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "django/contrib/auth/decorators.py", line 21, in _wrapped_view
- return view_func(request, *args, **kwargs)
- File "apps/billing/views.py", line 138, in upload_services_prices
- pp = pprint.PrettyPrinter(e)
- File "python3.7/pprint.py", line 121, in __init__
- indent = int(indent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement