Re: Why I'm giving up on Django

2006-10-01 Thread Milton Waddams
Just on the Apache 1.3 issue, I had the same problem on one of the sites I developed, I was able to get the fastcgi module installed and the site runs fine (has had some decent traffic levels). --~--~-~--~~~---~--~~ You received this message because you are

Re: How about a Django apps public repository?

2006-10-01 Thread Kenneth Gonsalves
On 02-Oct-06, at 7:12 AM, Sean Schertell wrote: > I posted publicly about giving up on django because I thought it > might help air out some niggling issues in django you have not answered the question. When you left PHP, did you post publicly to help air out some niggling issues in PHP,

Re: A view that looks up a model field

2006-10-01 Thread brad
Alright I got my model problem corrected. I needed to use the ForgeinKey() statement, so if there are any self-confusing newbies who are having this problem refer to: The url Matthew Flanagan provided to us in one of the replies above, and Tutorial 1 in the Django documentation (((

Re: A view that looks up a model field

2006-10-01 Thread Malcolm Tredinnick
On Sun, 2006-10-01 at 19:15 -0700, brad wrote: > I think that I need to modify models.py to fit the scheme I thought > that I had. The following is a table representation of what I thought I > had with my current models.py: > > Table: Game > > id game > == > 0

Re: A view that looks up a model field

2006-10-01 Thread brad
I think that I need to modify models.py to fit the scheme I thought that I had. The following is a table representation of what I thought I had with my current models.py: Table: Game id game == 0 0_Option1 1 1_Option1 1

Re: How about a Django apps public repository?

2006-10-01 Thread Ian Holsman
On 02/10/2006, at 11:42 AM, Sean Schertell wrote: > >>> I'm the guy that started this thread and had pledged to take the >>> lead >>> on this. Ironically, I'm also the guy who started the recent thread >>> "Why I'm giving up on Django". So for now, it looks like I'll be >>> taking an

Re: How about a Django apps public repository?

2006-10-01 Thread Sean Schertell
>> I'm the guy that started this thread and had pledged to take the lead >> on this. Ironically, I'm also the guy who started the recent thread >> "Why I'm giving up on Django". So for now, it looks like I'll be >> taking an indefinite hiatus from Django dev. > > just curious - did you indulge in

Re: ImportError

2006-10-01 Thread Malcolm Tredinnick
On Sun, 2006-10-01 at 21:15 -0400, Shidan wrote: > Hi, Im writing just a bit of learning code to generate html from > templates without using a model. But all I'm getting is this, > > Request Method: GET > Request URL: http://localhost:8000/about/ > Exception Type: ImportError >

Re: A view that looks up a model field

2006-10-01 Thread Matthew Flanagan
Hi Brad, Have a look at http://code.djangoproject.com/wiki/AJAXWidgetComboBox it seems to do most of what you are after. On 02/10/06, brad <[EMAIL PROTECTED]> wrote: > > Hello. I am trying to build a view to lookup a model field and return > an array based on the data sent to the view. The goal

ImportError

2006-10-01 Thread Shidan
Hi, Im writing just a bit of learning code to generate html from templates without using a model. But all I'm getting is this, Request Method: GET Request URL:http://localhost:8000/about/ Exception Type: ImportError Exception Value:No module named about Exception

A view that looks up a model field

2006-10-01 Thread brad
Hello. I am trying to build a view to lookup a model field and return an array based on the data sent to the view. The goal is to send the contents of the "value" tag in an html select statement( i.e. in OPTION to send the SOME_VALUE part) to a Django view with a Dojo request call, have the

Re: tutorials

2006-10-01 Thread NakedHTML
> Its not easy when you first learn Django. You just start to get some > grasps with it when you do the tutorials but the tutorials stop after 4 > pages. Any idea when the rest will follow? Timmerman, I found the same thing when I started out. I think one of the pages even notes that future

Re: cheetah + django

2006-10-01 Thread anil
hi malcolm what a lovely mail indeed i m almost an expert in using cheetah templating system but not configuring it to work with httpresponse once i have it going i shud be able to get it going without {{{ and % in django templating language personally love cheetah because it is very similar to

{% for object in latest %}

2006-10-01 Thread keukaman
I'm using generic views to display a list of news headlines. I use {% for object in latest %} in my template to show a listing of my headlines. I have a couple of questions for anyone who may have a few minutes to explain: 1. What entries are pulled by "latest"? I have 20 entries and the oldest

Re: Organisational question

2006-10-01 Thread Nicolas Steinmetz
John Sutherland wrote: > On 1 Oct 2006, at 17:02, Nicolas Steinmetz wrote: >> to have 3 app (a blog app, a tutorial app and a category app) ? In >> the second case, the questions are : > > I would suggest this is the way to go, if you added another app, say > a photo gallery or something, you

Re: Organisational question

2006-10-01 Thread John Sutherland
On 1 Oct 2006, at 17:02, Nicolas Steinmetz wrote: > to have 3 app (a blog app, a tutorial app and a category app) ? In > the second case, the questions are : I would suggest this is the way to go, if you added another app, say a photo gallery or something, you can add photos to categories.

Re: Organisational question

2006-10-01 Thread Pedro Lima
You can use generic relations. See this thread for an example http://groups.google.com/group/django-users/browse_thread/thread/50b6712cd7738d9d/aa9e13bb7e597eec Hope it helps, Pedro Lima --~--~-~--~~~---~--~~ You received this message because you are subscribed

Organisational question

2006-10-01 Thread Nicolas Steinmetz
Hello, I have a project for which I need : - a blog like app - a tutorial app (in which I'll publish tutorials...) I would like to be able to share categories between blog & tutorial app. Thus, if i have a theme "django" for ex, if I look at this theme, I would be able to see posts from blog

Re: web stats, mod_python profiler

2006-10-01 Thread rp
Thanks, Malcolm --~--~-~--~~~---~--~~ 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 [EMAIL

Re: web stats, mod_python profiler

2006-10-01 Thread rp
Thanks, Malcom --~--~-~--~~~---~--~~ 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 [EMAIL

Re: cheetah + django

2006-10-01 Thread Malcolm Tredinnick
On Sun, 2006-10-01 at 10:21 +, anil wrote: > Dear Malcolm thanks a lot > I found this in webpy for generating cheetah templates by default > I call > web.render('index.html') That should act as a substitute for Django's Template.render() call. So wherever you would normally retrieve a Django

Re: cheetah + django

2006-10-01 Thread anil
Dear Malcolm thanks a lot I found this in webpy for generating cheetah templates by default I call web.render('index.html') Can you tell me where I can use this in Django or what part of django i need to use. As you can see I m fairly a newbie Thanks Anil index.html 1675 def

Re: 'module' object is not callable

2006-10-01 Thread Marco Amato
I am really sorry for the stupid question Import Contex whit the C (the doc is right) all work like a charm Thanks On 10/1/06, Brett Parker <[EMAIL PROTECTED]> wrote: > > On Sun, Oct 01, 2006 at 11:20:08AM +0200, Marco Amato wrote: > > def index(request): > >list =

Re: template dir problem

2006-10-01 Thread Kenneth Gonsalves
On 01-Oct-06, at 2:43 PM, Russell Keith-Magee wrote: > 1) load the template 'index.html', rather than 'selecto/index.html' > 2) Drop 'selecto' from your TEMPLATE_DIRs definition > 3) put your templates in /home/marco/test_/test/selecto/selecto 2 is best. dont do 3 ;-) -- regards kg

'module' object is not callable

2006-10-01 Thread Marco Amato
I doesnt undestand this error : Type error at / 'module' object is not callable Request Method: GET Request URL: http://127.0.0.1:8000/ Exception Type: TypeError Exception Value: 'module' object is not callable Exception Location:

Re: template dir problem

2006-10-01 Thread Russell Keith-Magee
On 10/1/06, Marco Amato <[EMAIL PROTECTED]> wrote: > Hi to all ! > TEMPLATE_DIRS = ( > '/home/marco/test_/test/selecto/') ... > t = loader.get_template('selecto/index.html') ... > where I am wrong ? By the look of it, you have duplicated 'selecto' in the path that Django is looking

Re: template dir problem

2006-10-01 Thread Kenneth Gonsalves
On 01-Oct-06, at 2:22 PM, Marco Amato wrote: > t = loader.get_template('selecto/index.html') t = loader.get_template('index.html') -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message

Re: template dir problem

2006-10-01 Thread Marco Amato
sound like the directory that I setting in the setting.py doesnt work correctly I correct this using in view.py only 'index.html' and in TEMPLATES_DIR the complete pathThanks ,and sorry for the stupid question On 10/1/06, Marco Amato <[EMAIL PROTECTED]> wrote: Hi to all !I have this error

template dir problem

2006-10-01 Thread Marco Amato
Hi to all !I have this error :TemplateDoesNotExist at / selecto/index.htmlfrom :---setting.pyTEMPLATE_DIRS = (    '/home/marco/test_/test/selecto/')--selecto/view.pydef index(request):    list = Evento.objects.all().order_by('-data')[:5]     t = loader.get_template('selecto/index.html')