edit django's generated javascript files
<p>i'm not actually sure that want i want to do is doable, so i'm asking to people with more experience in Python/Django than me: what i have is a local instance of a django web app, i don't have the django files but only the css/js generated from that (specifically, is an <a href="https://www.reviewboard.org/" rel="nofollow">Reviewboard</a> instance). I'd like to change some frontend behavior, like not giving the possibility to the users to put themself as reviewer. What i want to do is simply not to show the option in the frontend (i don't care about backend). I tried to edit some js files (only adding console.log) but seems that the code that i'm editing is never running, so i guess that django use some built method to link the files in the app.</p>

<p>Anyone can give me a clue if what i want to do is possible (and how)? </p>

<p>Cheers</p>

<p>I will use an example of overriding static files (html and JavaScript) involving the admin app since it is built in.</p>

<p>Let's say you have an app <code>cars_app</code>, and you would like to change the behaviour of the admin page for the model <code>car</code>.</p>

<p>In the root directory of your django project, go to or create the directory <code>templates</code>. Underneath it, make the directory structure <code>admin/cars_app/car</code> (<code>admin/app_name/model_name</code>) then create the file <code>change_form.html</code>. Use the corresponding file in the <code>admin</code> app and make the changes you like.</p>

javascript python django