👯 I’m looking for remote project
🌱 I’m a product manager, any other skills is a hobby
hjlarry / flask-shop Goto Github PK
View Code? Open in Web Editor NEWan e-commerce project mock of saleor
License: BSD 3-Clause "New" or "Revised" License
an e-commerce project mock of saleor
License: BSD 3-Clause "New" or "Revised" License
Once click the every option page navigation very slow
this work is huge. but there is not any relationship between tables , why?
and why dashboard page has not useful?
if i want change this to market place do you have any suggestion?
do you thinks this can work like woocammerce or saleor? in performance and ability?
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
我用 Product.query.all() 获取到所有 product ,返回是个list 但是打印却只显示 title ,我看到 models.py str 方法里只写了 return self.title。如果向返回json,,要怎么改呢?
Hi, I can not understand why the product is not deleted (from product_product), I checked on databases MySql, Postgresql.... everything is removed except for the product. And the second question, if you add a product from the dashboard, then it is not added to the cart, if do by the seed command ....works.
Thanks for your help!
Hi, i am try learn flask and i found this project but i have some error
after i modify .flaskenv and flaskshop/setting.py. i run flask createdb
it throw error Error: No such command 'createdb'
.
i was try flask run
but it also throw flask.cli.NoAppException: Could not import "autoapp".
tks
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there was 1 stargazer.
⭐ aahmad4
You are the star! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there was 1 stargazer.
⭐ cippall
You are the star! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
I can't file run app
Here's the Weekly Digest for hjlarry/flask-shop:
Last week 2 issues were created.
Of these, 0 issues have been closed and 2 issues are still open.
💚 #39 Bump elliptic from 6.5.2 to 6.5.3, by dependabot[bot]
💚 #38 Bump elliptic from 6.4.0 to 6.5.3 in /mpvue, by dependabot[bot]
Last week, 2 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
💛 #39 Bump elliptic from 6.5.2 to 6.5.3, by dependabot[bot]
💛 #38 Bump elliptic from 6.4.0 to 6.5.3 in /mpvue, by dependabot[bot]
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
I tried
docker-compose build
docker-compose up
and got a connection error when typing http://127.0.0.1:5000 in my browser. After changing the start line in Dockerfile
to
CMD ["flask", "run", "--host=0.0.0.0"]
my browser can connect, but I get "Internal Error 500" in my browser. Could you please provide instructions how to use the Docker container?
Here's the Weekly Digest for hjlarry/flask-shop:
Last week 1 issue was created.
It is still open.
💚 #23 Bump jquery from 3.4.0 to 3.5.0, by dependabot[bot]
Last week, 1 pull request was created, updated or merged.
Last week, 1 pull request was updated.
💛 #23 Bump jquery from 3.4.0 to 3.5.0, by dependabot[bot]
Last week there were no commits.
Last week there were no contributors.
Last week there was 1 stargazer.
⭐ cyber-claws
You are the star! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
flask-shop/flaskshop/discount/models.py
Line 62 in 104bcf4
flask-shop/flaskshop/discount/models.py
Line 74 in 104bcf4
Hi,
I am getting this error when creating new product
File "/home/michal/Codes/flask-shop/flaskshop/product/models.py", line 144, in generate_variants variant_attributes = self.product_type.variant_attributes[0] IndexError: list index out of range
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, 1 pull request was created, updated or merged.
Last week, 1 pull request was merged.
💜 #23 Bump jquery from 3.4.0 to 3.5.0, by dependabot[bot]
Last week there was 1 commit.
🛠️ [Bump jquery from 3.4.0 to 3.5.0 (#23) Bumps jquery from 3.4.0 to 3.5.0.
Signed-off-by: dependabot[bot] [email protected]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>](c50fa72) by dependabot[bot]
Last week there was 1 contributor.
👤 dependabot[bot]
Last week there was 1 stargazer.
⭐ batiron
You are the star! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week 1 issue was created.
It is still open.
💚 #18 Bump acorn from 5.7.1 to 5.7.4, by dependabot[bot]
Last week, 1 pull request was created, updated or merged.
Last week, 1 pull request was updated.
💛 #18 Bump acorn from 5.7.1 to 5.7.4, by dependabot[bot]
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Here's the Weekly Digest for hjlarry/flask-shop:
Last week 2 issues were created.
Of these, 0 issues have been closed and 2 issues are still open.
💚 #35 Bump lodash from 4.17.15 to 4.17.19, by dependabot[bot]
💚 #34 Bump lodash from 4.17.11 to 4.17.19 in /mpvue, by dependabot[bot]
Last week, 2 pull requests were created, updated or merged.
Last week, 1 pull request was opened.
💚 #35 Bump lodash from 4.17.15 to 4.17.19, by dependabot[bot]
Last week, 1 pull request was updated.
💛 #34 Bump lodash from 4.17.11 to 4.17.19 in /mpvue, by dependabot[bot]
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Hello dear developers.
After creating test products (flask seed
), when trying to search using Elasticsearch, the application returns an error.
I did not change the code, I only changed the project settings in the settings.py file (for example USE_ES = True
).
Error search app:
[2023-08-11 06:50:51,860] ERROR in app: Exception on /search [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1519, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1517, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1503, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/app/flaskshop/public/views.py", line 44, in search
return render_template(
File "/usr/local/lib/python3.10/site-packages/flask/templating.py", line 154, in render_template
return _render(
File "/usr/local/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/app/flaskshop/templates/public/search_result.html", line 2, in top-level template code
{% from 'bootstrap5/pagination.html' import render_pagination %}
File "/app/flaskshop/templates/base.html", line 153, in top-level template code
{% block content %}
File "/app/flaskshop/templates/public/search_result.html", line 15, in block 'content'
{{ render_pagination(pagination) }}
File "/usr/local/lib/python3.10/site-packages/jinja2/runtime.py", line 777, in _invoke
rv = self._func(*arguments)
File "/usr/local/lib/python3.10/site-packages/flask_bootstrap/templates/base/pagination.html", line 53, in template
{%- for page in pagination.iter_pages() %}
File "/usr/local/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py", line 439, in iter_pages
for num in xrange(1, self.pages + 1):
File "/usr/local/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py", line 374, in pages
pages = int(ceil(self.total / float(self.per_page)))
TypeError: unsupported operand type(s) for /: 'AttrDict' and 'float'
Here's the Weekly Digest for hjlarry/flask-shop:
Last week, no issues were created.
Last week, 1 pull request was created, updated or merged.
Last week, 1 pull request was merged.
💜 #18 Bump acorn from 5.7.1 to 5.7.4, by dependabot[bot]
Last week there was 1 commit.
🛠️ [Bump acorn from 5.7.1 to 5.7.4 (#18) Bumps acorn from 5.7.1 to 5.7.4.
Signed-off-by: dependabot[bot] [email protected]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>](96a75ae) by dependabot[bot]
Last week there was 1 contributor.
👤 dependabot[bot]
Last week there was 1 stargazer.
⭐ rafnixg
You are the star! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository hjlarry/flask-shop to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
When creating a product type with the "Has variant" parameter set to False through the admin dashboard at "http://127.0.0.1:5000/dashboard/product_types," it is expected behavior that creating a product of this type would not require a variant. However, in the current implementation, even with "variant" set to False, the system mandates the creation of a variant for the product.
As a consequence, attempting to add such a product to the cart results in an issue. The form validation in "flask-shop/flaskshop/product/views.py" at line 28 expects a variant, causing the inability to submit and validate the form.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.