Hi, django doesn't deal with static files. Your web server must serve
static files. You can read about how to use static files whilst in
development in the documentation 
http://docs.djangoproject.com/en/dev/howto/static-files/




On Sep 8, 6:59 pm, Hrishikesh Dhayagude
<[email protected]> wrote:
> Hi,
> I've recently started using django. I want to source a java script
> file inside django. For that, only specifying it in script tag is
> sufficient or do we need to write anything more.
> If i want to source abc.js then
>  <script type="text/javascript" src="abc.js"></script>
> I tried doing that but was unsuccessful
> When i click view page source info after right clicking..  this abc.js
> is seen as a link
> When i click on it then its source code should be seen but what i get
> is an error saying the url doesn't match any of those in urls.py.
> So do i need to include any action to be performed on that particular
> url in url.py??
> Thank you in advance..
>
> Regards,
> Hrishikesh Dhayagude
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to