Re: weird osx problem (templates path)

2008-09-09 Thread Adi J. Sieker
Hi, On Tue, 09 Sep 2008 21:56:24 +0200, Anakin <[EMAIL PROTECTED]> wrote: > im using 10.5.2 osx Leopard. and im working with django 1.0 final > release. > > i have some screenshots about this error, settings - traceback and if > you need terminal log. you can see in this url. >

Re: neue Dateien für den Q-Spooler

2008-09-01 Thread Adi J. Sieker
Damn, wrong email address. Sorry about that. adi --~--~-~--~~~---~--~~ 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

Re: Is it possible to use Django + Postgresql on leopard?

2008-08-23 Thread Adi J. Sieker
On Sat, 23 Aug 2008 20:08:45 +0200, Theme Park Photo, LLC <[EMAIL PROTECTED]> wrote: > I have been unable to get Django + Postgres to run on Leopard. I have got that setup running here, using pure MacPorts. AFAIK, the python module ports are a little buggy and need > > (Works fine on Windows

Re: Practical Django Projects - Problem with CMS Search

2008-07-25 Thread Adi J. Sieker
On Fri, 25 Jul 2008 13:36:57 +0200, ColdSun <[EMAIL PROTECTED]> wrote: > After removing the "=" between the return and the httpresponse, I > recieve a different error (perhaps progress? :)) > > Error is as follows: > > MultiValueDictKeyError at /search/ > "Key 'Q' not

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread Adi J. Sieker
s That should probably help you. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultantweb:http://www.sieker.info/profile openbc: https://www.openbc.com/hp/AdiJoerg_Sieker/ --~--~-~-

Re: URLs rewrite

2008-07-09 Thread Adi J. Sieker
On Wed, 09 Jul 2008 16:06:23 +0200, Adi J. Sieker <[EMAIL PROTECTED]> wrote: > True, but then it opens another are which needs to be maintained. ups, thats meant tobe "another area" Regards Adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelanc

Re: URLs rewrite

2008-07-09 Thread Adi J. Sieker
On Wed, 09 Jul 2008 15:50:32 +0200, Joshua Jonah <[EMAIL PROTECTED]> wrote: > Mod rewrite will be faster and more efficient. Not to mention, it takes > some complexity out of your project. True, but then it opens another are which needs to be maintained. But in general I do agree that

Re: URLs rewrite

2008-07-09 Thread Adi J. Sieker
On Wed, 09 Jul 2008 15:27:07 +0200, Antoni Aloy <[EMAIL PROTECTED]> wrote: > 2008/7/9 RHC <[EMAIL PROTECTED]>: >> >> I know this may seem like an insanely simple question, but I'm a real >> newbie so be kind. >> >> I am trying to upgrade from an old php website to Django. The problem >> is I

Re: Share models among applications and split them in multiple files

2008-07-04 Thread Adi J. Sieker
On Fri, 04 Jul 2008 12:22:33 +0200, Alex Rades <[EMAIL PROTECTED]> wrote: > So for now there is only this models_app which should contain the > models. When I try to run syncdb, models under models/ are not imported. > Is there any magic to do into models_app/models/__init__.py ? There is

Re: MySQL-python-1.2.2 - build errors

2008-07-02 Thread Adi J. Sieker
blog/2007/Nov/14/installing-django-leopard-mac-os-105/ Regards adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultantweb:http://www.sieker.info/profile openbc: https://www.openbc.com/hp/AdiJoe

Re: MySQL-python-1.2.2 install problems

2008-07-01 Thread Adi J. Sieker
On Tue, 01 Jul 2008 06:56:08 +0200, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-06-30 at 20:13 -0700, [EMAIL PROTECTED] wrote: >> Hello, >> >> I'm having problems installing MySQL-python-1.2.2. I've installed this >> on my iMac with no problems but can't figure out how to

Re: Accessing model from view

2008-06-20 Thread Adi J. Sieker
>> > I've defined a set of choices in my model.py file that are used in a >> > particular model via the CHOICE arg. Is it possible to access these >> > values from a view to populate a random select list? In models: >> >> > ROLES = ( >> >    ('Ass

Re: "Global" variables for templates

2008-06-08 Thread Adi J. Sieker
; or something? Thanks for any comments. If you are using the SVN version check out context processor they should do the trick: http://www.djangoproject.com/documentation/templates_python/#writing-your-own-context-processors adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freel

Re: Newform and validating of date literals

2008-06-08 Thread Adi J. Sieker
nk is also always Y-m-d and you currently can't change that. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultantweb:http://www.sieker.info/profile o

Re: Json / Ajax problem

2008-05-28 Thread Adi J. Sieker
mwebs wrote: > I am sorry :-) could answer this by googling after "django > Querydict" > > __getitem__(key) is the solution. > doesn't request.POST["tags"] work, like with any other dict. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freel

Re: IntegerField with choices raising an TypeError

2008-05-22 Thread Adi J. Sieker
? > > works fine here. I define my choiches like this. APPLICATION = 1 CUSTOMER = 2 EXCUSTOMER = 3 CUSTOMER_STATES = ( (APPLICATION, 'Anfrage'), (CUSTOMER, 'Jugendlicher'), (EXCUSTOMER, 'Ehemaliger'), ) adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance

Re: Adding Adjacent fields in the dajngo templates

2008-05-21 Thread Adi J. Sieker
> can anybody help me how to proceeds to solve this problem ? > > If you are using newforms, I suggest reading http://www.djangoproject.com/documentation/newforms/#outputting-forms-as-html adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsi

Re: Printing out HTML that doesn't get converted to

2008-05-16 Thread Adi J. Sieker
jangoproject.com/documentation/templates/#automatic-html-escaping adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultantweb:http://www.sieker.info/profile

Re: Getting back to the same page after completing a task in another page

2008-05-15 Thread Adi J. Sieker
in has a login page that uses the contrib.auth login page. But you can still use contrib.auth even if the admin app is disabled. admin uses contrib.auth but it's not the other way around. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Cons

Re: Search Result Pagination

2008-05-15 Thread Adi J. Sieker
Michael Ellis wrote: >> What does the search funtion return? >> A django queryset or a xapian result and are you sure that >> the Paginator can handle the returned value? > > Hmmm. Great question. > > I believe it's returning a xapian result set. > > In my template, I'm looping through the

Re: Search Result Pagination

2008-05-14 Thread Adi J. Sieker
Michael Ellis wrote: >> what does the search method of your model do? >> I can't find any reference of a search function in the docs. > > I'm sorry, but I don't think I understand the question. > > I'm searching on a full-text index. > What does the search funtion return? A django queryset or