how do I tell which revision I'm using

2006-09-23 Thread Tamara D. Snyder
Hi all, I'm sorry, I'm sure this is an extremely simple thing that I am just stupidly missing. But I can't seem to figure out which revision of the django code I am using. I use subversion to download the "latest version" - but I only do it every so often. Can anyone help me? Thanks, T

Re: to login or not to login, that is the question

2006-09-10 Thread Tamara D. Snyder
and then just clean it out at the end of each semester, just like I'm doing with the system now. Cool. Thanks for the input guys. Tamara On Sep 10, 2006, at 7:13 PM, James Bennett wrote: > > On 9/10/06, Tamara D. Snyder <[EMAIL PROTECTED]> wrote: >> I'd lik

to login or not to login, that is the question

2006-09-10 Thread Tamara D. Snyder
Hi All, There is a web application I would like to write for a class I teach at the university. I would like my students to be able to log in and do something ("homework" if you like). I'd like to reuse the application next semester, with a different set of students. And I naturally don'

Re: login/logout oddities

2006-09-01 Thread Tamara D. Snyder
Here are my settings: TEMPLATE_DIRS = ( #'/Users/tamara/Documents/django-python/fifthproject/tdslogin/ templates', '/Users/tamara/Documents/django-python/fifthproject/templates', ) If I uncomment the first directory 'tdslogin/templates' then both my application ('tdslogin') and t

Re: login/logout oddities

2006-09-01 Thread Tamara D. Snyder
Yes, I checked all these things before I wrote. I can actually get it to use my template if I rearrange the order of the entries in TEMPLATE_DIRS. But then the admin system uses my logout template, too. But the whole time both admin and my app use the correct login template. It is very

login/logout oddities

2006-09-01 Thread Tamara D. Snyder
I'm spending the afternoon trying to learn how to add login/logout to my django project. Naturally, I have created a fake app just for this purpose. And I have discovered something strange Logging in - I have a view that I use a login_required decorator with. That looks for a url wit

Re: help with fastcgi failure

2006-08-04 Thread Tamara D. Snyder
On Aug 4, 2006, at 7:25 PM, Malcolm Tredinnick wrote: > > On Fri, 2006-08-04 at 14:45 -0500, Tamara D. Snyder wrote: >> Hi All, >> >> I'm getting this error message (in my apache error log) when I try to >> use fastcgi: >> >> (13)Permissi

help with fastcgi failure

2006-08-04 Thread Tamara D. Snyder
Hi All, I'm getting this error message (in my apache error log) when I try to use fastcgi: (13)Permission denied: FastCGI: failed to connect to server "/Library/ WebServer/Documents/django.fcgi": connect() failed I am using apache 1.3. I've got the latest flup installed. I am using the b

Re: Django source editing offtopic

2006-08-01 Thread Tamara D. Snyder
Or use Text Wrangler, it is free: http://www.bbedit.com/products/ textwrangler/index.shtml. :-) Tamara On Aug 1, 2006, at 5:58 PM, Tyson Tate wrote: > > On Aug 1, 2006, at 3:44 PM, toth anna wrote: > >> Sorry for boring the list with a slightly offtopic question. >> I saw that many of you are

customizing admin templates

2006-08-01 Thread Tamara D. Snyder
I'm sorry to keep bothering the list about this, but I just can't get custom admin templates to work properly. Here's what I have right now: 2 apps, one called Blog and one called Events2 I would like it if the branding at the top of the admin page changed depending on the app that I am in.

Re: app specific admin changes

2006-07-30 Thread Tamara D. Snyder
Jul 30, 2006, at 6:35 PM, James Bennett wrote: > > On 7/30/06, Tamara D. Snyder <[EMAIL PROTECTED]> wrote: >> I think that what I need to do is to make a copy of the >> base_site.html file in the contrib/admin/templates/admin directory >> and make my changes to it. M

app specific admin changes

2006-07-30 Thread Tamara D. Snyder
Hi All, I am relatively new to Django, but I am enjoying trying to get my first application working. My question today is about application specific changes to the Admin. For instance, my project is full of little test applications (blog1, blog2, places, events). I would like the "brandi

Re: delete imagefield

2006-07-27 Thread Tamara D. Snyder
t_id}} > _changecontainer').style.display='none';">remove] /> > {% trans "Change:" %}{% output_all bound_field.form_fields %} > {% else %} {% output_all bound_field.form_fields %} {% endif %} > > hopefully the formatting all came through ok and works for you. &

delete imagefield

2006-07-27 Thread Tamara D. Snyder
I know this has been asked before, but I can't seem to find any helpful answers. I have an imagefield that is not mandatory (blank=True). In the admin, I am able to insert an image, and I can change the image to another one. But I am not able to go back to having no image. Is there a w

Re: hiding fields in admin

2006-07-27 Thread Tamara D. Snyder
Yeah, clearly I followed the wrong tutorial as I was trying to learn things. Ah, well, at least now I *have* learned something. Thanks for the help, everyone. Tamara On Jul 27, 2006, at 9:23 AM, sean wrote: > > You should fix those things, editable didn't work because 'False' with > quotes

Re: hiding fields in admin

2006-07-27 Thread Tamara D. Snyder
show up, but it is not editable. On Jul 27, 2006, at 4:08 AM, Sean wrote: > > That's weird, because it hides it for me. > I have a field like this: > objects_path = models.CharField(maxlength=50, null=True, > editable=False) > > and it is clearly not visible in the admi

Re: hiding fields in admin

2006-07-26 Thread Tamara D. Snyder
ke to hide it (to make it less tempting to the knuckleheads), so I'll try the javascript thing. For some reason I was concentrating on just the hiding part and didn't even think of using "editable=false" until you mentioned it. On Jul 26, 2006, at 6:58 PM, Sean wrote: &

Re: hiding fields in admin

2006-07-26 Thread Tamara D. Snyder
Sean wrote: > > Maybe you would want the "editable=False" parameter in your model, > which > hides the field from the admin. Then simply populate the field in the > save method. > > Tamara D. Snyder wrote: >> Hi all, >> >> In my "Event" mode

hiding fields in admin

2006-07-26 Thread Tamara D. Snyder
Hi all, In my "Event" model I have a slug field that is automatically generated from another field. I would like to hide the slug field from admin users, but still allow it to be automatically generated. I know I can hide it by using the "fields" parameter in the admin class of my model

edit in admin change list?

2006-07-25 Thread Tamara D. Snyder
Hi Folks, Sorry if this has been asked/answered before. I searched the docs and the old django-users messages and I didn't see it. I am wondering if there is a way to make changes from the admin change list, instead of only from the admin edit list. For example, I have a model called "stor