Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seedstars/django-react-redux-base
/ functions
Functions
92 in github.com/Seedstars/django-react-redux-base
⨍
Functions
92
◇
Types & classes
39
↓ 17 callers
Method
dispatch
Atomic transaction.
src/lib/utils.py:34
↓ 14 callers
Function
configureStore
(initialState, history)
src/static/store/configureStore.dev.js:12
↓ 14 callers
Method
post
User login with username and password.
src/accounts/views.py:31
↓ 11 callers
Method
get
Return html for main application page.
src/base/views.py:16
↓ 8 callers
Method
create
Create the object. :param validated_data: string
src/accounts/serializers.py:20
↓ 6 callers
Function
authLoginUserFailure
(error, message)
src/static/actions/auth.js:25
↓ 5 callers
Function
get_basic_auth_header
(username, password)
tests/python/accounts/test_views.py:13
↓ 4 callers
Method
assert_fields_required
Check if a list of fields and required or not required in a form. :param required: True|False :param form: form to be checke
src/lib/testutils.py:5
↓ 4 callers
Function
authReducer
(state = initialState, action)
src/static/reducers/auth.js:17
↓ 4 callers
Function
validate_email
Validate a single email.
src/lib/utils.py:7
↓ 3 callers
Function
encodeLoader
(loader)
src/static/styles/font-awesome-helper.js:3
↓ 2 callers
Method
_create_user
Create and save an User with the given email, password, name and phone number. :param email: string :param password: string
src/accounts/models.py:12
↓ 2 callers
Method
assert_invalid_data
Check invalid data errors in a form. :param form: :param invalid_data_dicts: :return:
src/lib/testutils.py:19
↓ 2 callers
Method
assert_invalid_data_response
Check invalid data response status. :param url: :param invalid_data_dicts: :return:
src/lib/testutils.py:45
↓ 2 callers
Method
assert_valid_data
Check valid data in a form. :param form: :param valid_data_dicts: :return:
src/lib/testutils.py:33
↓ 2 callers
Function
authLoginUserSuccess
(token, user)
src/static/actions/auth.js:13
↓ 2 callers
Method
checkAuth
()
src/static/utils/requireAuthentication.js:24
↓ 2 callers
Function
dataReducer
(state = initialState, action)
src/static/reducers/data.js:11
↓ 2 callers
Function
mockStorage
()
tests/require.js:29
↓ 1 callers
Method
activation_expired
Check if user's activation has expired. :return: boolean
src/accounts/models.py:132
↓ 1 callers
Function
authLoginUserRequest
()
src/static/actions/auth.js:36
↓ 1 callers
Function
authLogout
()
src/static/actions/auth.js:42
↓ 1 callers
Function
authLogoutAndRedirect
()
src/static/actions/auth.js:50
↓ 1 callers
Method
confirm_email
Confirm email. :return: boolean
src/accounts/models.py:140
↓ 1 callers
Function
copyProps
(src, target)
tests/require.js:11
↓ 1 callers
Method
create_superuser
Create a super user. :param email: string :param first_name: string :param last_name: string :param password
src/accounts/models.py:55
↓ 1 callers
Method
create_user
Create and save an User with the given email, password and name. :param email: string :param first_name: string :par
src/accounts/models.py:40
↓ 1 callers
Function
dataFetchProtectedDataRequest
()
src/static/actions/data.js:19
↓ 1 callers
Function
dataReceiveProtectedData
(data)
src/static/actions/data.js:10
↓ 1 callers
Method
get_full_name
Return the first_name plus the last_name, with a space in between. :return: string
src/accounts/models.py:116
↓ 1 callers
Method
get_short_name
Return the first_name. :return: string
src/accounts/models.py:124
↓ 1 callers
Method
render
()
src/static/app.js:40
Method
__str__
Unicode representation for an user model. :return: string
src/accounts/models.py:108
Function
authLoginUser
(email, password, redirect = '/')
src/static/actions/auth.js:58
Function
checkHttpStatus
(response)
src/static/utils/index.js:1
Function
componentWillMount
()
src/static/containers/Protected/index.js:25
Method
componentWillMount
()
src/static/utils/requireAuthentication.js:16
Method
componentWillMount
()
src/static/containers/Login/index.js:60
Method
componentWillReceiveProps
(nextProps)
src/static/utils/requireAuthentication.js:20
Function
configureStore
(initialState, history)
src/static/store/configureStore.prod.js:7
Method
constructor
(props)
src/static/containers/Login/index.js:47
Function
dataFetchProtectedData
(token)
src/static/actions/data.js:25
Method
get
View for confirm email. Receive an activation key as parameter and confirm email.
src/accounts/views.py:44
Method
get
Retrieve user current confirmed_email status.
src/accounts/views.py:64
Method
get
Process GET request and return protected data.
src/base/views.py:29
Function
getItem
(key)
tests/require.js:35
Method
handle_exception
Handle exception with transaction rollback.
src/lib/utils.py:38
Function
key
(i)
tests/require.js:44
Function
length
()
tests/require.js:41
Function
mapDispatchToProps
(dispatch)
src/static/containers/Login/index.js:136
Function
mapStateToProps
(state, ownProps)
src/static/app.js:116
Function
mapStateToProps
(state)
src/static/utils/requireAuthentication.js:43
Function
mapStateToProps
(state)
src/static/containers/Login/index.js:128
Function
mapStateToProps
(state)
src/static/containers/Home/index.js:60
Function
parseJSON
(response)
src/static/utils/index.js:11
Method
post
User registration view.
src/accounts/views.py:21
Function
removeItem
(key)
tests/require.js:38
Method
render
()
src/static/utils/requireAuthentication.js:31
Method
render
()
src/static/containers/Login/index.js:83
Method
render
()
src/static/containers/Home/index.js:26
Method
render
()
src/static/containers/NotFound/index.js:4
Method
render
()
src/static/containers/Root/Root.dev.js:17
Method
render
()
src/static/containers/Root/Root.prod.js:15
Function
requireAuthentication
(Component)
src/static/utils/requireAuthentication.js:6
Function
setItem
(key, value)
tests/require.js:32
Method
setUp
(self)
tests/python/accounts/test_models.py:18
Method
setUp
(self)
tests/python/accounts/test_serializers.py:38
Method
setUp
(self)
tests/python/accounts/test_serializers.py:72
Method
setUp
(self)
tests/python/accounts/test_views.py:31
Method
setUp
(self)
tests/python/base/test_views.py:12
Method
test_account_confirm_email_successful
(self)
tests/python/accounts/test_views.py:116
Method
test_account_confirm_email_unsuccessful
(self)
tests/python/accounts/test_views.py:110
Method
test_account_login_successful_and_perform_actions
(self)
tests/python/accounts/test_views.py:96
Method
test_account_login_unsuccessful
(self)
tests/python/accounts/test_views.py:43
Method
test_account_register_email_already_exists
(self)
tests/python/accounts/test_views.py:67
Method
test_account_register_successful
(self)
tests/python/accounts/test_views.py:48
Method
test_account_register_unsuccessful
(self)
tests/python/accounts/test_views.py:39
Method
test_fields
(self)
tests/python/accounts/test_serializers.py:43
Method
test_fields
(self)
tests/python/accounts/test_serializers.py:76
Method
test_get_full_name
(self)
tests/python/accounts/test_models.py:35
Method
test_get_main_page
(self)
tests/python/base/test_views.py:33
Method
test_get_protected_page
(self)
tests/python/base/test_views.py:19
Method
test_get_short_name
(self)
tests/python/accounts/test_models.py:38
Method
test_invalid_data
(self)
tests/python/accounts/test_serializers.py:49
Method
test_invalid_data
(self)
tests/python/accounts/test_serializers.py:82
Method
test_super_user
(self)
tests/python/accounts/test_models.py:24
Method
test_unicode
(self)
tests/python/accounts/test_models.py:21
Method
test_user
(self)
tests/python/accounts/test_models.py:28
Method
test_validate_email
(self)
tests/python/utils/test_utils.py:7
Method
test_validate_success
(self)
tests/python/accounts/test_serializers.py:53
Method
test_validate_success
(self)
tests/python/accounts/test_serializers.py:86
Method
validate_email
Validate if email is valid or there is an user using the email. :param value: string :return: string
src/accounts/serializers.py:31