Templatetags and admin issues

2009-09-28 Thread CALdan
'adminmedia' is not a valid tag library: Could not load template library from django.templatetags.adminmedia, No module named adminmedia Hi! I'm getting the above error message when I try to access the admin module of Django. I also seem to be having a problem where django is only looking in

Passing variables from Django to Javascript after page load

2009-02-22 Thread CALdan
Hi! I want to pass data from Django to populate javascript variables dynamically after page load. I'm using ajax.updater to call url's from Django to update div's within my pages but in some instances it would be of great use to pass just a variable instead of HTML code. Is there a way of

Basic Queryset issue

2009-02-04 Thread CALdan
Hi, I'm in the process of learning django by creating a simple application for use at work, I'm using the djangobook's tutorials as guidlines for my own app. As far as I can tell, everything below is correct however when django loads the page in the browser there is no data from within the FOR

Unique_together across classes

2009-01-29 Thread CALdan
hi! I'm putting together a simple model in Django as an example for a large project. I'm attempting to set up the models in an efficient manner with as little redundancy as possible (none). What I'm attempting to do is use unique_together across 2 classes which are linked through their primary