Comments (6)
Is 'webpack'
in your INSTALLED_APPS
?
from python-webpack.
Yes :
INSTALLED_APPS = (
#[...]
'react',
'webpack',
)
from python-webpack.
Strange.
Which version of django are you using?
from python-webpack.
Version 1.6.8.
I'm using the 5.0.1 python-webpack (latest).
from python-webpack.
Ah yeah, latest switched to 1.7's app config for the setup hook. You'll need to manually call the webpack.conf.settings.configure
function.
After your WEBPACK
dict in settings, add something like the following
# Forwards-compatible check for configuring webpack in Django < 1.7
import django
if django.VERSION[0] == 1 and django.VERSION[1] < 7:
import webpack.conf
webpack.conf.settings.configure(**WEBPACK)
from python-webpack.
Yes, it's working now. Thanks for your help !
from python-webpack.
Related Issues (20)
- More Windows issues after getting js-host working... HOT 9
- python-webpack stops rendering often HOT 12
- Chunking aka code splitting HOT 4
- Support webpack hot module replacement HOT 1
- Env config at a higher level HOT 1
- Source map config should be configurable at the python level HOT 1
- Dev tools should be configurable at the python level HOT 1
- JS/CSS compression should be configurable at the python level HOT 1
- Caching should be based on config and options HOT 1
- Something is rotten in the state of Travis HOT 1
- Support for relative config file paths
- Compressor-esque template tag HOT 1
- Precompiler management command HOT 2
- Cache manifest handling HOT 2
- Use in production HOT 2
- Wrong pip package name HOT 1
- TypeError: Unicode-objects must be encoded before hashing HOT 1
- Needs compatibility with webpack-build 1.0.0 HOT 4
- Support collectstatic
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 python-webpack.