Re: Display a view of a single record?

2009-11-09 Thread Ludwik Trammer
I have a really hard time understanding what do you need, and I suspect I'm not the only one. You are talking about the admin interface, right? It displays a list containing all records, and when you click on a record you go to a page that shows all fields for this record (and lets you change thei

Re: Django Admin Template Directory

2009-11-03 Thread Ludwik Trammer
> I didn't specify a path. I did an apt-get install on Ubuntu 9.04 Than it should be under "/var/lib/python-support/python2.6/django/" Ludwik PS: "whereis" locates only binary and man files. You may want to use "locate" or "find" instead. --~--~-~--~~~---~--~~ Yo

Autocomplete tags for django-tagging

2009-11-03 Thread Ludwik Trammer
http://code.google.com/p/django-tagging-autocomplete/ I'm creating a post about this because of two reason: 1. There may be other people who may want to use it. 2. It's one of the first things I wrote in Djnago ever, so I'd really appreciate any comments. I'd like to learn

Re: Dynamic/complex forms

2009-08-11 Thread Ludwik Trammer
Hi, I haven't tried it myself, but look at django-ajax-validation (http://github.com/alex/django-ajax-validation). Ludwik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Different types of users, requiring different models

2009-08-06 Thread Ludwik Trammer
Hello, I'm a developer for a Polish NGO, owning 5 schools in Warsaw. My organization decided to throw out our antiquated custom PHP intranet system (everything school needs: timetables, grades, reports, announcements, forums, etc. ) and design a brand new one using Django. And to Open Source it.

Re: field order:ModelForm

2009-08-05 Thread Ludwik Trammer
> I tried adding a fields attribute to the Meta class (which I think is > what you would do in the dev version), but that didn't work. Django 1.1 stable is out and supports this feature, so if you can upgrade it will probably be the easiest solution. --~--~-~--~~~---~-

Re: Multiple data formats for one view

2009-08-05 Thread Ludwik Trammer
If you do this just for unintrusive AJAX functionality you can simply use HttpRequest.is_ajax() http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.is_ajax if request.is_ajax(): # return data serialized to JSON or XML else: # render data in HTML template