Skip to main content
Filter by
Sorted by
Tagged with
2 votes
3 answers
1k views

We have a legacy Django-webpack app using Django webpack loader. The app code moved into a /app directory and the render_bundle stopped working. The error message is File "/usr/local/lib/...
gggrunt's user avatar
  • 51
1 vote
0 answers
223 views

I've updated a Django app to Python 3.9 and Django 4.0, and I'm getting an error on launch: TypeError: expected string or bytes-like object I tracked it down to this function in python3.9/site-...
VikR's user avatar
  • 5,164
1 vote
0 answers
154 views

I'm trying to use Django with Webpack on Heroku via django-webpack-loader. After pushing the files from the repository to Heroku, I run webpack to generate the static files in /dist as well as webpack-...
Edgar Derby's user avatar
  • 2,835
2 votes
0 answers
195 views

Related questions appear not to be applicable in my case. As I do not understand where the issues lies, perhaps I am just not finding the solution. I have some experience with Django, but this is my ...
Mitchell van Zuylen's user avatar
1 vote
1 answer
485 views

I am using Django as backend and Vue3 as frontend in my application. In development server i did not have problem but now in production i am having problems to render the page. I have followed all the ...
ytsejam's user avatar
  • 3,449
0 votes
3 answers
2k views

When I am at http://127.0.0.1:8000/ I'm getting this error KeyError at / 'assets' In settings.py Installed apps INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django....
AnonymousUser's user avatar
0 votes
1 answer
1k views

I'm working on a django webpack bundle. I got a ready template on github. I made a few changes on it. I prepare for future use according to my own file hierarchy. But I am having a problem with ...
user avatar
1 vote
1 answer
2k views

I have an application with CRA with frontend and django backend. I use react-app-rewired to override webpack configuration on frontend so that to save output from webpack-dev-server for django to use. ...
Keannylen's user avatar
  • 483
0 votes
1 answer
274 views

I deployed a Django+VueJS app that uses django webpack loader in order to render Vue apps in my Django templates. I used Nginx and Gunicorn to deploy the app to a DigitalOcean VPS, everything works ...
JayK23's user avatar
  • 291
0 votes
1 answer
207 views

After I setup a vue frontend with a django webpack loader, the media files are not rendering. settings.py STATIC_URL = '/static/' MEDIA_URL = "/media/" MEDIA_ROOT = os.path.join(BASE_DIR, &...
yvl's user avatar
  • 670
3 votes
1 answer
370 views

I want to import a variable from a django generated html page into my App.vue component. My goal is to pass a String, which represent the user AuthGroup, eg. 'milkman', 'hairdresser' or 'supplier' The ...
wittgenstein's user avatar
  • 4,600
0 votes
2 answers
2k views

I am developing a react app inside of a django project and connect them using the Django rest framework. For making API calls from within the react app I am using axios. Now in my development ...
Philipp K's user avatar
  • 333
4 votes
1 answer
1k views

I'm setting up webpack for a a Django application, for which django-webpack-loader appears to be the obvious choice. I can compile my js and scss files just fine, but I've hit a wall when it comes to ...
John Kealy's user avatar
  • 1,973
0 votes
1 answer
145 views

I have a project with webpackloader djangorest-react js , all works fine in production but i need to launch django server everytime... My goal is to run django and my react project with apache2 by ...
BATTLEROYALXS's user avatar
0 votes
1 answer
410 views

I want to serve my Vue application (as SPA) through django, and I passed across this article. The author use django-webpack-loader to achieve this, but is not adding a simple TemplateView around dist/...
adnanmuttaleb's user avatar
1 vote
1 answer
355 views

i am trying to create a student attendance sheet in django using django modelformset_factory...but when i save the formset it thows me the id is not valid here is my implementation i have two ...
stephen kaingu's user avatar
0 votes
1 answer
1k views

I'm recently following a tutorial on using webpack with Django and for the life of me the local host just can't find my bundle file This is what the console shows when I inspect on my local host: ...
Lucy Gu's user avatar
  • 405
2 votes
1 answer
1k views

I followed this tutorial and integrated Django and VueJs using django-webpack-loader, now the main.js output from django-webpack-loader is loading to my index.html This is my project directory ...
Saro 's user avatar
  • 107
0 votes
1 answer
664 views

My main.css is not rendering,I am using multiple entry points in webpack.config.js file % load render_bundle from webpack_loader %} <!DOCTYPE html> <html> <head> <meta name='...
Harsh 's user avatar
  • 11
1 vote
0 answers
248 views

I am trying to run vuejs server and django server on a same machine. It works very well on my local machine where django by default runs on http://127.0.0.1:8000 and vue.config.js has public path ...
Praveen's user avatar
  • 46
2 votes
2 answers
2k views

I'm working on tying my react(16.6.3) and Django(2.0) apps together. Right now I'm just working to get the dev server working and will focus on production later. I've been following a handful of ...
brewcrazy's user avatar
  • 675
0 votes
0 answers
168 views

I've made a webpack file(as MainPage.js) in output folder which I set up on webpack.config.js However, when I access to my main page it says there is no MainPage.js. What's wrong with it?? (I'm using ...
1Sun's user avatar
  • 2,375
0 votes
0 answers
95 views

I think my problem is more or less a simple question, but I'm not still accustomed to using webpack and so on, So your advice will be helpful to me. (I'm using Django on backend and React on frontend) ...
1Sun's user avatar
  • 2,375
1 vote
0 answers
171 views

I'm using Django and react with webpack While setting up WEBPACK_LOADER in settings.py, I've faced the problem! My file tree is like this. My File Tree Cebula4 - back - manage.py -...
1Sun's user avatar
  • 2,375
0 votes
0 answers
109 views

I'd like to use webpack in Django Then, I set up like this. WEBPACK_LOADER = { 'DEFAULT' : { 'BUNDLE_DIR_NAME': 'front/bundles/', 'STATS_FILE': os.path.join(BASE_DIR, '...
1Sun's user avatar
  • 2,375
3 votes
0 answers
4k views

Trying to use reactjs + django webpack loader + webpack 4. Everything builds perfectly main and other chunks files are generated successfully. Unfortunately, page getting blank and its seems like ...
Jaison James's user avatar
  • 4,562
10 votes
1 answer
14k views

I have a React application configured with Django Application. I have different webpack config files for development and production, When I run "npm run start", it gives me error that: Cannot read ...
TechSavy's user avatar
  • 1,430
4 votes
1 answer
1k views

There are plenty of tutorials and helpful posts how to use Django and Vue properly (in various options) all over the Internet. But I didn't find a single one who describes how to create a Django ...
nerdoc's user avatar
  • 1,092
6 votes
2 answers
3k views

I use both webpack and django. Now I move bundled assets to /static/ directory of django each time, so I'd like to make more effective process. I read some articles and many people recommend to use ...
lipsum's user avatar
  • 969
2 votes
1 answer
3k views

I am starting to learn some react, and trying to learn how to combine ReactJS and Django. I am currently following the proposed tutorial here After setting up the django urls, and installing django-...
inblank's user avatar
  • 416
7 votes
3 answers
2k views

I working on a Vue app in Django via django-webpack-loader, running locally I'm able to get it to work by using the following in my base.html file: {% load render_bundle from webpack_loader %} ... ......
Toby's user avatar
  • 13.5k