Comments (4)
it turned out the django version specified in setup.py was causing this.
from django-oscar-api.
I’m sorry but the error you get has nothing to do with the minimum requirement of Django specified as 2.2.x but with the installed Django version on your system (4) which is not compatible yet with oscarapi
.
You should install Django 2.2.x or 3.2 before installing oscarapi
.
I’ll release a Django 4 compatible version when Oscar is doing as well.
See also the compatible Django versions in the django-oscar
and django-oscar-api
documentation.
from django-oscar-api.
@maerteijn I don't really get it because I was using a brand new virtualenv without a previous django installation.
from django-oscar-api.
@tofubit That is because we only defined a minimum version of Django and not a maximum version. So it will install the latest version of Django available which is version 4.
Install django-oscar
in your virtualenv first which has the correct maximum version defined, then install the oscarapi
sandbox and all will be fine.
from django-oscar-api.
Related Issues (20)
- How to Overwrite Oscar API URL ? HOT 1
- getting HOT 2
- Weird results in attributes with patching Childs HOT 3
- AttributeError: 'NoneType' object has no attribute 'strategy' HOT 3
- Is there any good way to make price range filter with oscar api? HOT 1
- Why doesn't ProductList filter out non-public products?
- AdminProductSerializer validation
- `cookies_to_delete` is always an empty list HOT 12
- AdminProductSerializer error when trying to add products HOT 1
- Voucher discount is applied to every single product in the basket
- Add to basket api returns 403 forbidden when user is logged in HOT 5
- ImproperlyConfigured at /api/admin/products/ when a Product has an optiongroup HOT 13
- master ahead of main? HOT 1
- _ in both ApiBasketMiddleWare and translations? HOT 1
- Potential problem with basket for unauthenticated users
- Inconsistency between product class and product category HOT 1
- PUT on productclasses HOT 6
- Empty attribute values cause an exception
- Why the admin url name for PartnerDetail view has no admin prefix?
- Phone number validation should take region into account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-oscar-api.