Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StasDeep/Rest-Shop
/ functions
Functions
224 in github.com/StasDeep/Rest-Shop
⨍
Functions
224
◇
Types & classes
113
↓ 30 callers
Method
get
(self, request)
restshop_project/restshop/api/user/views.py:35
↓ 11 callers
Method
post
(self, request)
restshop_project/restshop/api/cart/views.py:26
↓ 10 callers
Function
addFilterParam
(param, value)
restshop_project/ui/app/js/controllers/product-list.controller.js:29
↓ 8 callers
Method
add_to_cart_and_assert
Add to cart and check if response has the same status as expected.
restshop_project/restshop/tests.py:40
↓ 8 callers
Function
take
(pathKey)
restshop_project/ui/gulpfile.babel.js:85
↓ 7 callers
Method
_get_id
Get id of a specific record. Returns the first matching record in 'model_name' model.
restshop_project/restshop/fixtures/fixture_creator.py:61
↓ 7 callers
Function
put
(pathKey)
restshop_project/ui/gulpfile.babel.js:90
↓ 6 callers
Method
_add_record
Add a record to fixtures list.
restshop_project/restshop/fixtures/fixture_creator.py:78
↓ 6 callers
Method
delete
(self, *args, **kwargs)
restshop_project/restshop/api/unit/models.py:42
↓ 4 callers
Method
_add_if_not_exists
(self, model_name, fields)
restshop_project/restshop/fixtures/fixture_creator.py:86
↓ 4 callers
Method
assert_cart_length
Check cart length and, if passed, quantity of the item. quantity_of is a 2-item tuple where quantity_of[0] is the index of item
restshop_project/restshop/tests.py:48
↓ 4 callers
Method
get
(self, request)
restshop_project/restshop/api/cart/views.py:15
↓ 4 callers
Function
getProducts
()
restshop_project/ui/app/js/controllers/product-list.controller.js:94
↓ 3 callers
Function
addSize
(value)
restshop_project/ui/app/js/services/properties-tags.service.js:79
↓ 3 callers
Function
getFullUrl
(url, id, paramString)
restshop_project/ui/app/js/services/api.service.js:24
↓ 3 callers
Function
getPropertyValue
(unit, propertyName)
restshop_project/ui/app/js/controllers/product-details.controller.js:104
↓ 3 callers
Function
get_seller
(request)
restshop_project/restshop/admin_models.py:40
↓ 3 callers
Method
order_and_assert
(self, data=None, expected_status=status.HTTP_201_CREATED)
restshop_project/restshop/tests.py:60
↓ 2 callers
Method
_get_tag_set
(self, t)
restshop_project/restshop/fixtures/fixture_creator.py:96
↓ 2 callers
Function
addDirName
(fileset)
restshop_project/ui/gulpfile.babel.js:77
↓ 2 callers
Method
assert_orders_length
(self, expected_length)
restshop_project/restshop/tests.py:67
↓ 2 callers
Method
delete_by_user
Remove current delivery info for user, if exists. Return True if successfully deleted.
restshop_project/restshop/api/user/service.py:7
↓ 2 callers
Method
get
(self, request)
restshop_project/restshop/api/order/views.py:17
↓ 2 callers
Function
getMatchingUnit
()
restshop_project/ui/app/js/controllers/product-details.controller.js:59
↓ 2 callers
Function
getMatchingUnits
(filterProperties)
restshop_project/ui/app/js/controllers/product-details.controller.js:75
↓ 2 callers
Method
get_sku
(sku, size)
restshop_project/restshop/fixtures/fixture_creator.py:193
↓ 2 callers
Function
setAllowedOptions
()
restshop_project/ui/app/js/controllers/product-details.controller.js:162
↓ 2 callers
Function
setPrice
()
restshop_project/ui/app/js/controllers/product-details.controller.js:200
↓ 2 callers
Function
setSelectedUnit
(unit)
restshop_project/ui/app/js/controllers/product-details.controller.js:204
↓ 2 callers
Method
set_filtered_queryset
Change kwargs['queryset'] to show records related only to seller who requests them.
restshop_project/restshop/admin_models.py:71
↓ 1 callers
Method
_auto_id
Get id for new record (counted in ascending order from 1).
restshop_project/restshop/fixtures/fixture_creator.py:56
↓ 1 callers
Method
_exists
Check if a specific record exists.
restshop_project/restshop/fixtures/fixture_creator.py:74
↓ 1 callers
Method
_init_products
(self)
restshop_project/restshop/fixtures/fixture_creator.py:145
↓ 1 callers
Method
_init_properties
(self)
restshop_project/restshop/fixtures/fixture_creator.py:90
↓ 1 callers
Method
_init_property_values
(self)
restshop_project/restshop/fixtures/fixture_creator.py:102
↓ 1 callers
Method
_init_seller
(self)
restshop_project/restshop/fixtures/fixture_creator.py:127
↓ 1 callers
Method
_init_tags
(self)
restshop_project/restshop/fixtures/fixture_creator.py:120
↓ 1 callers
Method
_init_unit_images
(self)
restshop_project/restshop/fixtures/fixture_creator.py:177
↓ 1 callers
Method
_init_units
(self)
restshop_project/restshop/fixtures/fixture_creator.py:156
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/signup.controller.js:16
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/login.controller.js:15
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/profile.deliveryinfo.controller.js:15
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/profile.order-details.controller.js:16
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/cart.controller.js:22
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/product-details.controller.js:26
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/profile.controller.js:17
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/profile.info.controller.js:15
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/product-list.controller.js:24
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/profile.order-list.controller.js:15
↓ 1 callers
Function
activate
()
restshop_project/ui/app/js/controllers/header.controller.js:15
↓ 1 callers
Function
createMapping
(values)
restshop_project/ui/app/js/services/properties-tags.service.js:16
↓ 1 callers
Method
download_and_get
Download images and return their names
restshop_project/restshop/fixtures/products/products/spiders/nike.py:92
↓ 1 callers
Function
filterColors
(colors)
restshop_project/ui/app/js/services/properties-tags.service.js:26
↓ 1 callers
Function
filterSizes
(sizes)
restshop_project/ui/app/js/services/properties-tags.service.js:76
↓ 1 callers
Function
getDefaultSlider
()
restshop_project/ui/app/js/controllers/product-list.controller.js:33
↓ 1 callers
Function
getInitializedProperties
()
restshop_project/ui/app/js/controllers/product-list.controller.js:59
↓ 1 callers
Function
getInitializedTags
()
restshop_project/ui/app/js/controllers/product-list.controller.js:78
↓ 1 callers
Function
getProduct
(id)
restshop_project/ui/app/js/controllers/product-details.controller.js:97
↓ 1 callers
Function
getUnitPrice
()
restshop_project/ui/app/js/controllers/product-details.controller.js:108
↓ 1 callers
Function
getUser
()
restshop_project/ui/app/js/services/data-services/user-data.service.js:27
↓ 1 callers
Function
get_args
()
restshop_project/restshop/fixtures/process_raw.py:7
↓ 1 callers
Method
get_fixtures
Return valid Django fixtures list.
restshop_project/restshop/fixtures/fixture_creator.py:36
↓ 1 callers
Method
get_random_stock_num
()
restshop_project/restshop/fixtures/fixture_creator.py:197
↓ 1 callers
Method
get_staff_group
Get staff group with seller permissions or create if does not exist.
restshop_project/restshop/api/user/views.py:68
↓ 1 callers
Function
initColorMap
()
restshop_project/ui/app/js/controllers/product-details.controller.js:124
↓ 1 callers
Function
initOptions
()
restshop_project/ui/app/js/controllers/product-details.controller.js:134
↓ 1 callers
Function
initializeFilterValues
()
restshop_project/ui/app/js/controllers/product-list.controller.js:112
↓ 1 callers
Function
initializeSlider
(floor, ceil)
restshop_project/ui/app/js/controllers/product-list.controller.js:124
↓ 1 callers
Function
main
()
restshop_project/restshop/fixtures/process_raw.py:28
↓ 1 callers
Function
needAuthentication
(state)
restshop_project/ui/app/js/app.js:107
↓ 1 callers
Function
orderSizes
(sizes)
restshop_project/ui/app/js/services/properties-tags.service.js:124
↓ 1 callers
Function
refreshFilter
()
restshop_project/ui/app/js/controllers/product-list.controller.js:151
↓ 1 callers
Function
setOptionsWidth
()
restshop_project/ui/app/js/controllers/product-details.controller.js:176
↓ 1 callers
Function
setSelectedImage
(img)
restshop_project/ui/app/js/controllers/product-details.controller.js:213
↓ 1 callers
Function
setUser
()
restshop_project/ui/app/js/services/data-services/user-data.service.js:56
↓ 1 callers
Function
watchFiles
(pathKey)
restshop_project/ui/gulpfile.babel.js:170
Function
CartController
($rootScope, cartOrderDataService, userDataService, _)
restshop_project/ui/app/js/controllers/cart.controller.js:5
Function
HeaderController
($location, $state, $window)
restshop_project/ui/app/js/controllers/header.controller.js:5
Function
LoginController
($state, userDataService, notifier)
restshop_project/ui/app/js/controllers/login.controller.js:5
Function
ProductDetailsController
($stateParams, $state, $window, $timeout, productDataService, cartOrderDataService,
restshop_project/ui/app/js/controllers/product-details.controller.js:5
Function
ProductListController
($location, productDataService)
restshop_project/ui/app/js/controllers/product-list.controller.js:5
Function
ProfileController
($state, userDataService)
restshop_project/ui/app/js/controllers/profile.controller.js:5
Function
ProfileDeliveryInfoController
($scope, userDataService, notifier)
restshop_project/ui/app/js/controllers/profile.deliveryinfo.controller.js:5
Function
ProfileInfoController
($scope, userDataService, notifier)
restshop_project/ui/app/js/controllers/profile.info.controller.js:5
Function
ProfileOrderDetailsController
($scope, $stateParams, cartOrderDataService)
restshop_project/ui/app/js/controllers/profile.order-details.controller.js:5
Function
ProfileOrderListController
($scope, cartOrderDataService)
restshop_project/ui/app/js/controllers/profile.order-list.controller.js:5
Function
SignupController
(userDataService, notifier)
restshop_project/ui/app/js/controllers/signup.controller.js:5
Method
__call__
(self, request)
restshop_project/restshop/middleware.py:8
Method
__init__
(self, get_response)
restshop_project/restshop/middleware.py:5
Method
__init__
Initialize fixtures. Fixtures for each model are stored in self._fixtures dict, where the key is the name of the model.
restshop_project/restshop/fixtures/fixture_creator.py:17
Method
__str__
(self)
restshop_project/restshop/api/product/models.py:16
Method
__str__
(self)
restshop_project/restshop/api/order_unit/models.py:23
Method
__str__
(self)
restshop_project/restshop/api/user/models.py:10
Method
__str__
(self)
restshop_project/restshop/api/unit/models.py:17
Method
__str__
(self)
restshop_project/restshop/api/unit/models.py:33
Method
__str__
(self)
restshop_project/restshop/api/cart/models.py:14
Method
__str__
(self)
restshop_project/restshop/api/order/models.py:18
Method
__str__
(self)
restshop_project/restshop/api/property/models.py:7
Method
__str__
(self)
restshop_project/restshop/api/property/models.py:21
Method
__str__
(self)
restshop_project/restshop/api/tag/models.py:10
next →
1–100 of 224, ranked by callers