Re: How to make fields with editable=False visible in the Admin interface

2007-12-21 Thread brian corrigan
On Dec 21, 2:20 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Dec 20, 2007 9:03 AM, GodOfGeeks <[EMAIL PROTECTED]> wrote: > > > The problem is that when I set the fields to editable=False then they > > won't be visible in the adminModel > > The admin interface is deliberately designed not

Re: Admin-editable configuration for Django?

2007-12-21 Thread brian corrigan
Unless these are settings that Django needs lite configured apps or db settings I can't see why you wouldn't use a config file, especially if it is just for mail settings. On Dec 20, 10:32 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > James Bennett napisaƂ(a): > > >> While this might work for the

Re: 'module' object has no attribute 'urlpatterns'

2007-06-24 Thread brian corrigan
Hi Malcom, Thanks for getting back to me so quickly. Updatting to r5520 has fixed my problem. Good work on you fix so :) Thanks again Brian On Jun 24, 11:58 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2007-06-24 at 10:38 +0000, brian corrigan wrote: > > Hi al

'module' object has no attribute 'urlpatterns'

2007-06-24 Thread brian corrigan
Hi all, I have written a blog app and tested it locally with the dev server. It is working fine for me, I can get to the admin etc. I then set up an fcgi server on Dream host, following Jeff Crofts tutorial at http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/ Before adding my app I co

Re: Taking a patch

2007-06-07 Thread brian corrigan
On Jun 7, 3:06 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/7/07, brian corrigan <[EMAIL PROTECTED]> wrote: > > > > > Hey all, > > > I am looking to take in the patches for ticket #399 (BigInt field). I > > am not sur

Taking a patch

2007-06-07 Thread brian corrigan
Hey all, I am looking to take in the patches for ticket #399 (BigInt field). I am not sure how to do this though. There is an original patch.txt followed by a couple of .diff files. Are the .diff files the difference between the original source and the latest update to the patch or are they the .

Re: Generell Questions on Django

2007-05-24 Thread brian corrigan
We have used Django along side Java applications by using Jython and HTTP requests from the Java to Django and vice versa. So if your colleagues need more "serious" application features there are ways to plug them into Django (although I'm sure some people might not agree with the method) :) On

foreign key, edit_inline, multiple times

2007-04-17 Thread brian corrigan
Hi all, If I have a model say CarModel which has a foreign key to CarManufacturer and I want to edit the CarModel in the CarManufacturer admin view I set the edit_inline value. I also set number_in_admin to be a certain number. Is there a way that I can do this without setting the number_in_admin

Showing images in Django Admin

2007-04-04 Thread brian corrigan
Hi all, I have a django model and want to include an image field. Is there a way of displaying this field in the admin templates as an image (not the string path of the image) or do I have to write my own template for that? Cheers Brian --~--~-~--~~~---~--~~ Yo

Re: Help with admin views

2006-12-01 Thread brian corrigan
> I'm guessing you can copy the templates for the admin site into your > local templates directory and modify them to your heart's content. If you create in the directory you store your templates a folder called admin you can copy in the templates from django source into there and edit them. What

Re: Mac vs. PC for Django work.

2006-09-14 Thread brian corrigan
The only problem I came across with the Mac (iBook) was that there is no c compiler installed. You can download xcode tools (I think) from the apple developer site which will give you gcc. The problem is that xcode is about a 1GB (latest realease). Takes a while to download. Other than that though

Running two django projects on the same server

2006-09-05 Thread brian corrigan
Hi all, I'm trying to run two seperate Django project on the same server, one on port 7000 and one on 8000. Both projects use the auto generated admin and authentication. When I am logged into one (say on port 7000) and try and access the other project on 8000 I get the following error: Suspicio

Re: django/core/meta

2006-09-01 Thread brian corrigan
Cheers Chris, Finally saw that but I have tried it and have the following problem... The code: distribution_list = models.ForeignKey(DistributionList) subscriber = models.CharField(maxlength=30) unique_together=((distribution_list, subscriber),) gives the following sql "id

Re: django/core/meta

2006-09-01 Thread brian corrigan
Jacob Kaplan-Moss wrote: > On Sep 1, 2006, at 9:17 AM, brian corrigan wrote: > > However with the project I'm working on, I can't change the Django > > version I'm working on. I have tried doing an SVN update on the core > > directory but meta was not i

Re: django/core/meta

2006-09-01 Thread brian corrigan
Also... I have downloaded the .tar.gz file from the django site and browsed to django/core and again there is no mention of meta. Is there something I'm missing? If there is no work around this for me, is there any other way I can implement the following code... distribution_list = meta.Fo

Re: django/core/meta

2006-09-01 Thread brian corrigan
Thanks Jacob, However with the project I'm working on, I can't change the Django version I'm working on. I have tried doing an SVN update on the core directory but meta was not included in it. Is there anyway I can download the relevant files/folders? Thanks again, Brian --~--~-~--~