Commit Graph

167 Commits

Author SHA1 Message Date
Sam
8de48c6698 more tweaks for geo search 2021-03-11 12:17:40 +00:00
Sam
c343bda367 search tests broken, but geo search working 2021-03-11 12:09:32 +00:00
Sam
9794ab1f18 changing the way search workd to accommodate for georestrictions 2021-03-11 11:33:12 +00:00
Sam
5178eb9722 first steps for georestricted search results 2021-03-11 11:11:00 +00:00
Sam
8a004b127e Merge branch 'sam' into development 2021-03-11 10:00:59 +00:00
Sam
4a7975d77a Merge branch 'diego' into development 2021-03-11 09:59:03 +00:00
Diego Calvo
5c039f5ff2 price filter add equal to 2021-03-11 08:36:31 +01:00
Sam
0eaaf2bc49 fixed create_company_user endoint, tests working 2021-03-10 13:24:02 +00:00
Sam
bb0b8729cb changes to related product action, test ok 2021-03-10 12:13:21 +00:00
Sam
39c8bd5e44 history admin dropdown for admin 2021-03-10 11:52:43 +00:00
Sam
d01d5bf407 fix for history admin crashing when company is null 2021-03-10 11:41:02 +00:00
Sam
aa9a6bdf81 fixed email error 2021-03-10 10:51:45 +00:00
Sam
3cbc807bf7 finished work on purchase_email endpoint, for now 2021-03-10 10:23:43 +00:00
Sam
c6f051ac65 added email validation to purchase_email view 2021-03-10 10:10:16 +00:00
Sam
f0a076057c fixes to purchase_email and readme update 2021-03-09 13:47:18 +00:00
Sam
4218d94a26 testing purchase_email but getting 401 with AllowAny 2021-03-09 13:00:59 +00:00
Sam
89e3e446f3 more work on purchase_email endpoint and basic templates 2021-03-09 12:44:01 +00:00
Sam
d65f9d2388 added purchase_email endpoint to products views 2021-03-09 12:27:15 +00:00
Sam
0fee0a2f6d implemented dropdowns for fk fields in product and company admin 2021-03-09 11:30:54 +00:00
Sam
2a731b3c3b fixed error in history admin when company was none 2021-03-09 11:15:34 +00:00
Sam
7a1aa496b7 first try at implementing product viewset "related" action 2021-03-08 13:47:47 +00:00
Sam
230cfbe043 minucia 2021-03-08 13:10:15 +00:00
Sam
3b28238a62 added AdminCompanyViewSet for users with role SITE_ADMIN 2021-03-08 13:02:57 +00:00
Sam
642688b98d added AdminProductsViewSet for users with role SITE_ADMIN 2021-03-08 12:54:06 +00:00
Sam
ec27937b85 switched my_company and my_products from method to class views 2021-03-08 12:24:44 +00:00
Sam
ebd1b6744c product search only for active products 2021-03-08 11:50:43 +00:00
Sam
c25d23548d mods to django admin 2021-03-08 11:10:03 +00:00
Sam
44294223ed blank model fields 2021-03-08 10:50:39 +00:00
Sam
14a2f3ca0b customization to model admin forms 2021-03-05 12:35:16 +00:00
Sam
8518bd09ce fixed product views to only list active products 2021-03-05 11:49:21 +00:00
Sam
a92b44c0b2 companies added by csv could be active 2021-03-05 11:35:20 +00:00
Sam
ae25f5fadc added active booleand field to product, default False 2021-03-05 11:29:27 +00:00
Sam
cdb18ea157 added company_name as a vector in product search 2021-03-05 10:41:25 +00:00
Sam
f81bbee4e6 added object count to my_products 2021-03-05 10:13:31 +00:00
Sam
6d79583540 product category in admin almost fixed 2021-03-04 13:34:46 +00:00
Sam
085c6f86a7 added custom autocomplete for category in product admin, still not working correctly 2021-03-04 13:23:11 +00:00
Sam
657b717c07 working to fix tag widgets in admin 2021-03-04 12:37:15 +00:00
Sam
c99b81b751 implemented pagination for my_products and my_company 2021-03-04 11:50:26 +00:00
Sam
8068921bb7 changed tags to protected, and not all lowercase 2021-03-04 10:59:10 +00:00
Sam
b3aa80a9fa Merge branch 'diego' into development 2021-03-04 10:33:30 +00:00
Sam
2d704ff91f fixed issue of products deleted if category tag deleted 2021-03-04 10:31:48 +00:00
Diego Calvo
5ab1642d0b delete print... 2021-03-04 10:14:11 +01:00
Diego Calvo
76c45a1dd7 add company in product creation 2021-03-04 09:32:54 +01:00
Sam
ff8453e003 readme update 2021-03-03 10:49:44 +00:00
Sam
ddf7aee312 improvements to csv product loading 2021-03-03 10:41:34 +00:00
Sam
794250a6ab cleanup 2021-03-02 13:55:10 +00:00
Sam
4a0a9c3788 work on product csv loading 2021-03-02 13:53:48 +00:00
Sam
8bae68907e finished tests for new search 2021-03-02 13:43:08 +00:00
Sam
1338570c05 partial improvements to search 2021-03-02 13:17:37 +00:00
Sam
5bab1d75cb improvemento to product search 2021-03-02 12:10:14 +00:00