Thursday, June 28, 2012

Re: locating the functionality behind the HTML element

Thanks Jon

On Thu, Jun 28, 2012 at 12:41 AM, Jon Black <jon_black@mm.st> wrote:
If I understand you correctly, you want to find the django code responsible for rendering the view. Rather than look at the html, the most obvious place is to look at the url. There should be an entry in one of your urls.py files, which will tell you which view is being used. You can then trace that view to the template.
 
--
Jon Black
 
 
On Wed, Jun 27, 2012, at 17:55, Smaran Harihar wrote:
Hi Guys,
 
I am new to Django and have completed the initial basic tutorials in the django doc. I am presently working on a pre-customized django application. I was wondering how I can use FireBug to locate the code in a specific element (like button). In the sense, in general the web development once we are able to locate the button we are able to then locate the class of the specific element and JS attached to it and CSS. But in Django this cannot be done since everything is located in separate directories. 
 
Since I am entering into the Django code, where should I start looking for the CSS and JS files? 
 
--
Thanks & Regards
Smaran Harihar

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Thanks & Regards
Smaran Harihar

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment