Re: Schema Evolution code

2006-12-14 Thread Steve Hutton
On 2006-12-14, Victor Ng <[EMAIL PROTECTED]> wrote: > > The patch I previous sent in mostly adds a couple functions to the > psycopg2 backend in the introspection module. The only big changes > that affect the mainline django code are in django.core.management. > > I'm using my patches, so that's

strange admin interface issues runserver vs. apache

2006-12-14 Thread miked
Hi All -- Sorry if this is a newbie faux pas. I am having an issue with viewing the adding admin interfaces I created for a number of my models. Everything appears fine when accessing the admin site using the development server, but when I try to view my changes running through Apache, none of the

Re: My second web site that use django, http://beyking.51boo.com

2006-12-14 Thread Igor Guerrero
Very cool, Just something apparently the rich editor FCK, dont have some languages, It can be fix by copying the en.js to es.js(for Spanish). It's Amazing how small are Django application!!! On 12/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > This is a weblog application, source code

extracting field information from models

2006-12-14 Thread Milan Andric
Hello, I would like to loop through the fields in my model and print the names (verbose_name) and value of the fields. I've been hacking at it for sometime but can't figure it out. I had some help from Magus on IRC but still can't find solution. See: http://simon.bofh.ms/logger/django/2006/12/1

My second web site that use django, http://beyking.51boo.com

2006-12-14 Thread [EMAIL PROTECTED]
This is a weblog application, source code is open --~--~-~--~~~---~--~~ 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 gr

Estimate memory/cpu of django?

2006-12-14 Thread mamcxyz
Exist any info about estimates values for memory and cpu for django? --~--~-~--~~~---~--~~ 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 unsub

Using django's test facility

2006-12-14 Thread ginstrom
I am having trouble using django's test facility. I have written a unit test (copied from the example on the website): # Issue a GET request response = self.client.get('/archive/') # Check that the respose is 200 OK self.failUnlessEqual(response.status_code, 200)

Re: Sqlite3 and Python 2.5

2006-12-14 Thread Jeremy Dunck
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > So 'DATABASE_NAME' should be the full name of a non-existant file. I > had thought they wanted the path to where the file was located. > > !!Works fine now!! > > Two problems for Django with Python 2.5 FYI, the 0.95 tarball on the site is prett

Re: Re: Model inheritance

2006-12-14 Thread James Bennett
On 12/14/06, Crispin Bennett <[EMAIL PROTECTED]> wrote: > I assume it would be possible to get at child instances via some kind > of introspection on instances of the base class (ie. so I could > iterate usefully over collections of base class instances)? You may want to read this thread from the

Re: Template tags and contexts

2006-12-14 Thread limodou
You can run your code outside of the block tag, so the block tag will not push your context into the stack. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this mess

Re: Model inheritance

2006-12-14 Thread Crispin Bennett
On 12/14/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > Django does have the ability to do a sort of model inheritance, using > OneToOneFields. This establishes a 1-1 relationship between a base > class and a child class. I assume it would be possible to get at child instances via some ki

Re: Sqlite3 and Python 2.5

2006-12-14 Thread kbochert
So 'DATABASE_NAME' should be the full name of a non-existant file. I had thought they wanted the path to where the file was located. !!Works fine now!! Two problems for Django with Python 2.5 bug 1) ez_setup.py in Django .95 folder should have: DEFAULT_VERSION = "0.6c3" instead of DEFAULT_VERS

Re: Model inheritance

2006-12-14 Thread Russell Keith-Magee
On 12/15/06, Crispin Bennett <[EMAIL PROTECTED]> wrote: > But out of interest, does anyone here know what those > semantic changes relate to? They relate to the new model inheritance code. Usage of 1-1 relations will change a bit when the model inheritance features become available. Yours, Russ

Re: Sqlite3 and Python 2.5

2006-12-14 Thread Joseph Heck
The the name to a file in a directory - SQLite databases are a single file, and it won't be able to create one if a directory already exists with the same name. -joe On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > > I tried to do: > Python manage.py syncdb > and got the error "No module name

Sqlite3 and Python 2.5

2006-12-14 Thread kbochert
I tried to do: Python manage.py syncdb and got the error "No module named pysqlite2". I edited the file \Python25\Lib\site-packages\Django-0.95-py2.5.egg\django\db\backends\sqlite3\base.py to read: from sqlite3 import dbapi2 as Database instead of from pysqlite2 import dbapi2 as Database and the e

Sqlite3 and Python 2.5

2006-12-14 Thread kbochert
>From Django Djumpstart I attemptd: python manage.py syncdb and got an error: C:\Django\gtd>python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "C:\Python25\lib\site-packages\django-0.95-py2.5.egg\django\core\manageme nt.

Re: Paths in Python 2.5

2006-12-14 Thread kbochert
Thanks but I don't have, and don't want an irc client, so I'll just struggle along and try not to ask stupid questions. My problem is that Python 2.5 and sqlite3 seems to be a buggy combination. (Is that true?) Maybe sqlite3 hasn't really been integrated yet? I have had to edit "C:\Python25\lib\s

Re: Paths in Python 2.5

2006-12-14 Thread Jeremy Dunck
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > Jeremy Dunck wrote: > > On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: ... > > Python's path (which is the list included in sys.path) is totally > > separate from the window path. > > > So how do I put Django on this path? > > > You probably wan

Re: Model inheritance

2006-12-14 Thread Crispin Bennett
On 12/14/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > Yes and No. > > Django does have the ability to do a sort of model inheritance, using > OneToOneFields. This establishes a 1-1 relationship between a base > class and a child class. For example: > > class Base(Model): >name = Ch

Re: Switching branches (was "Schema Evolution code")

2006-12-14 Thread Tim Chase
>> Are there any "best practices" tips for swapping among them for >> testing/experimenting? Preferably without causing /too/ much >> damage. :) > > Hey Tim, > > I've added some more instructions to the "Using branches" part of our > documentation. Let me know if this helps. > > http://www.dja

Re: Paths in Python 2.5

2006-12-14 Thread kbochert
Jeremy Dunck wrote: > On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > > > The command > > C:>django-admin.py > > does find it (tho it doesn't know what to do with it). > > > > It seems Python does not understand the path environment variable > > or is there something I'm missing? > > Python'

Re: Re: Schema Evolution code

2006-12-14 Thread Victor Ng
The patch I previous sent in mostly adds a couple functions to the psycopg2 backend in the introspection module. The only big changes that affect the mainline django code are in django.core.management. I'm using my patches, so that's been tested through 3 schema updates in production. As previo

Re: Paths in Python 2.5

2006-12-14 Thread Jeremy Dunck
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > The command > C:>django-admin.py > does find it (tho it doesn't know what to do with it). > > It seems Python does not understand the path environment variable > or is there something I'm missing? Python's path (which is the list included in sy

Re: Switching branches (was "Schema Evolution code")

2006-12-14 Thread Adrian Holovaty
On 12/14/06, Tim Chase <[EMAIL PROTECTED]> wrote: > Now I'd like to toy with both the Schema Evolution and the > row-level user privs branches. > > Are there any "best practices" tips for swapping among them for > testing/experimenting? Preferably without causing /too/ much > damage. :) Hey Tim,

Re: Re: Switching branches (was "Schema Evolution code")

2006-12-14 Thread James Bennett
On 12/14/06, Tim Chase <[EMAIL PROTECTED]> wrote: > Are there any "best practices" tips for swapping among them for > testing/experimenting? Preferably without causing /too/ much > damage. :) I can only speak to Unix-based systems, but what I've done with lots of things of this nature is write a

Paths in Python 2.5

2006-12-14 Thread kbochert
I setup my path env var: C:\Django>path PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Tech nologies\ATI Control Panel;C:\Apps\Eps12\Bin;C:\Python25;c:\Python25\Scripts;c:\ Django\django\bin And I get: C:\Django>python django-admin.py python: can't open file 'django

Re: Switching branches (was "Schema Evolution code")

2006-12-14 Thread Tim Chase
> If you don't use Schema Evolution, you shouldn't be affected." > > I'd really like to try it, but I don't have time to keep up to date with > two branches. Early on, I naively just did the generic install of Django which put it in the usual system-wide place. Now I'd like to toy with both th

Re: Re: Schema Evolution code

2006-12-14 Thread Todd O'Bryan
I know the company line on the SOC Schema Evolution code is that it will be integrated into the trunk after enough people have tested it, but I think this creates a chicken and egg problem. People aren't going to use it until it's in trunk and it won't be in trunk until enough people test it. Doe

Re: Tips/advice on model and application design?

2006-12-14 Thread Joseph Heck
It really just depends on how you're accessing the data. I tend to optimize for developer simplicity first, and then go in and adjust/split/modify code as needed when performance isn't where it needs to be for whatever application I'm working with. The case where multiple models might work a littl

Re: Would Django be a good framework for developing and engineering/science application

2006-12-14 Thread T. Size
Jay, Thank you for your comments. At least it looks like I will be able to use Django. I guess the next thing for me to do is to spend alot of time with the documentation and built a couple of simple apps/tutorials to flush out my understanding of how Django will work. Regards. Thomas Jay Pa

Re: null ordering in mysql

2006-12-14 Thread Don Arbow
On Dec 14, 2006, at 12:49 AM, MC wrote: > > Problem: > I order dates and null values in ascending order under MySQL. To my > surprise, null values are listed first, then actual dates. Turns out > that in MySQL, null values are LOWER than non-null values, whereas > Postgresql is the reverse. As out

Somewhat awkward ImageField usage

2006-12-14 Thread Andy Dustman
I have this model: class Photo(Model): title = CharField( maxlength = 80, ) description = TextField() photo = ImageField( upload_to = "photos/%Y/%m/%d", height_field = "H", width_field = "W", ) W = PositiveSmallIntegerField("Width",

Re: Installation on Python25

2006-12-14 Thread kbochert
Found it. Highlite the text with the mouse, then right-click copies to clipboard Right-click on the dos box with nothing highlighted causes a paste! (I think Bill has something against dos boxes!) Karl --~--~-~--~~~---~--~~ You received this message because you

Installation problems

2006-12-14 Thread kbochert
I need some help installing Django. (not a good sign for my ability to use it!) I have installed Python25 on Windows2000, and added it to the path. Its at C:\Python25 I downloaded and unzipped Django 0.95 to C:\Django-0.95 I opened a console in c:Django-.095 and entered 'sudo python setup.py insta

OneToOneField and edit_inline

2006-12-14 Thread Dirk Eschler
Hello, i'm having some problems with the OneToOneField. I have a content app with a class Content that i want to use as base class in several other classes (like Project in the below example): class Content(models.Model): title = models.CharField('Title', maxlength=255, core=True) body

For EVERY Pakistani Muslim... amendments in hudood ordinance

2006-12-14 Thread Eminaeem
This is for EVERY Pakistani Muslim to know about the amendments in hudood ordinance, so called "Adults' rights ordinance"... Please download and listen to the following... http://www.tanzeem.org/tanzeemeislami/2006-12-08.ra This is not an enforcement, but a humble request. Don't just listen to t

Re: Would Django be a good framework for developing and engineering/science application

2006-12-14 Thread Jay Parlar
On 12/14/06, T. Size <[EMAIL PROTECTED]> wrote: > > I would appreaciate any comments about if Django is a good framework of > developing an application like is described below. If it is a good > framework for this I would appreciate pointers to applicable > documentation or examples. > > In the n

Would Django be a good framework for developing and engineering/science application

2006-12-14 Thread T. Size
I would appreaciate any comments about if Django is a good framework of developing an application like is described below. If it is a good framework for this I would appreciate pointers to applicable documentation or examples. In the near future I will be developing an application that will be u

Re: Installation on Python25

2006-12-14 Thread Fredrik Lundh
Jeremy Dunck wrote: > Here's a 3rd: you can cut and paste from a dos box. They change it > on each version of windows, but I think on 2k, you click the icon for > the dos window (or perhaps it's right-click the title bar), and select > Mark. Drag your cursor around to highlight a segment, and

Re: Installation on Python25

2006-12-14 Thread Jeremy Dunck
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > Now thats what I expected -- no error messages > > Interestingly, installing Django has taught me two things I never knew > about WIN2K > You can redirect stderr with '2>' > The File syatem has symbolic links ( just no tools to access them!) He

Re: Installation on Python25

2006-12-14 Thread kbochert
Now thats what I expected -- no error messages Interestingly, installing Django has taught me two things I never knew about WIN2K You can redirect stderr with '2>' The File syatem has symbolic links ( just no tools to access them!) Thanks for the help. Karl --~--~-~--~~

Re: How to change the representation of newline?

2006-12-14 Thread Aidas Bendoraitis
I ran out of ideas. :) Maybe somebody else has any thoughts regarding new lines? Good luck with Django! Aidas Bendoraitis [aka Archatas] On 12/14/06, zhongke chen <[EMAIL PROTECTED]> wrote: > firefox shows utf-8 > > my firefox is 2.0 > > On 12/14/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote:

Re: Installation on Python25

2006-12-14 Thread Jay Parlar
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > I can't ccut and paste from a dos box. Fortunately I just discovered > that I can redirect stderr using '2>' !! > Ahh, I think I see what's happening. Django 0.95 is reasonably old now, and by default, it tries to download setuptools 0.6c1, for

Re: Installation on Python25

2006-12-14 Thread kbochert
I can't ccut and paste from a dos box. Fortunately I just discovered that I can redirect stderr using '2>' !! Traceback (most recent call last): File "setup.py", line 2, in ez_setup.use_setuptools() File "C:\Django-0.95\ez_setup.py", line 72, in use_setuptools egg = download_setuptoo

Re: manage.py - "test" not a known action - how do I do unittests?

2006-12-14 Thread Bob
Waylan - I removed the egg and voila! manage.py now knows about "test." Thanks for your help. - Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Adding a foreign key to list_display makes Admin hang

2006-12-14 Thread Austin Govella
Not sure how to trouble-shoot this. (And I could've sowrn it worked yesterday.) When I add a column that's a foreign key to list_display, admin hangs. The change list just never loads. (The add/edit page loads and saves just fine.) I've tried deleting the database tables for the app and reinstal

Re: ImageField: Unique with number, not underscore?

2006-12-14 Thread Oliver Lavery
Yup, save() will be called whenever a model is written to the database, including through a manipulator (again, afaik) self.name is just for example purposes. You need to change the name of the file in the ImageField or FileField object within your model. But yes, if you do this from an overloaded

Re: Installation on Python25

2006-12-14 Thread Jay Parlar
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > Not that I am aware of. Windows 2000, Sygate personal firewall. Comcast > cable. > Plain vanilla I think. > Could you paste in the full text of the traceback? Jay P. --~--~-~--~~~---~--~~ You received this mes

Re: Installation on Python25

2006-12-14 Thread kbochert
Not that I am aware of. Windows 2000, Sygate personal firewall. Comcast cable. Plain vanilla I think. Karl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: How to change the representation of newline?

2006-12-14 Thread zhongke chen
firefox shows utf-8 my firefox is 2.0 On 12/14/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote: > And what encoding is showed in the page info? ...when you right click > somewhere in the page and choose "View Page Info" from the menu. Maybe > just the default character encoding in your firefox se

Re: How to hack admin interface?...and should I?

2006-12-14 Thread va:patrick.kranzlmueller
Am 14.12.2006 um 17:05 schrieb Daniel Kvasnicka jr.: > > Hi djangees, > I'm a TurboGears user, I like CherryPy, Kid and so. I like Django as > well and tried the tutorials. > What I like about Django is (obviously) the auto-generated admin > interface. > > However, what I need to know is how > e

Re: Installation on Python25

2006-12-14 Thread Jay Parlar
On 12/14/06, kbochert <[EMAIL PROTECTED]> wrote: > > I need some help installing Django. (not a good sign for my ability to > use it!) > I have installed Python25 on Windows2000, and added it to the path. > Its at C:\Python25 > I downloaded and unzipped Django 0.95 to C:\Django-0.95 > I opened a c

Re: help with tagging app

2006-12-14 Thread Bret Walker
Did anything ever come of Luke's work? --~--~-~--~~~---~--~~ 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 em

Installation on Python25

2006-12-14 Thread kbochert
I need some help installing Django. (not a good sign for my ability to use it!) I have installed Python25 on Windows2000, and added it to the path. Its at C:\Python25 I downloaded and unzipped Django 0.95 to C:\Django-0.95 I opened a console in c:Django-.095 and entered 'python setup.py install' I

Filtering firstof vars in templates

2006-12-14 Thread ElGranAzul
Hi, i'm testing the firstof tag in templates, but i want to filter some vars. In this case, the vars are dates, and usually y use {{ week|date:"W" }} to get the week number (week is a full date), but i also want to get the same with {{ day|date:"W" }} (also a full date). It,of course, can be done

How to hack admin interface?...and should I?

2006-12-14 Thread Daniel Kvasnicka jr.
Hi djangees, I'm a TurboGears user, I like CherryPy, Kid and so. I like Django as well and tried the tutorials. What I like about Django is (obviously) the auto-generated admin interface. However, what I need to know is how easy/difficult/deprecated/encouraged is to hack the auto-generated admin

Installation on Python25

2006-12-14 Thread kbochert
I need some help installing Django. (not a good sign for my ability to use it!) I have installed Python25 on Windows2000, and added it to the path. Its at C:\Python25 I downloaded and unzipped Django 0.95 to C:\Django-0.95 I opened a console in c:Django-.095 and entered 'python setup.py install' I

Re: Help with get absolute url

2006-12-14 Thread conrad22
You were quite right, Wayne, there was a mistake in my model (Charfield instead of SlugField)...so don't I feel stupid! A million thanks to everyone anyway! (I feel quite well qualified to write an idiot's guide now...) --~--~-~--~~~---~--~~ You received this me

Re: Re: Schema Evolution code

2006-12-14 Thread Victor Ng
If anyone wants to poke at our schema evolution code you should be able to apply this patch attached. It's mostly working. The bugs I know about are: 1) M2M fields can't be repointed at new tables properly 2) there's some weird quirk with modifying null and db_index at the same time. i have to

Tips/advice on model and application design?

2006-12-14 Thread Austin Govella
I'm new to Django, so I was looking for some advice on good model and app design and on how that affects performance. My first app has nine models, and after working with it for a bit, it seems like it's actually two apps: one for meta data and another for content management. Are there any rules

Re: Template tags and contexts

2006-12-14 Thread PoBK
On Nov 13, 9:31 pm, "PoBK" <[EMAIL PROTECTED]> wrote: > Umm guys, > > I think I'm being a bit dense this evening... > > I'm attempting to build set of template tags for some widget framework. > > The current way it works is: > > {% use_widget [pythonic path to widget] [args if required]%} tag load

Re: Help with get absolute url

2006-12-14 Thread Waylan Limberg
This isn't working for you? {% for organisation in object.organisation_set.all %} {{ organisation.org_name }} {% endfor %} If the name works, but not get_absolute_url I'd say you have something wrong with your model. Open a shell and play with you model to make sure everything is wor

Re: manage.py - "test" not a known action - how do I do unittests?

2006-12-14 Thread Waylan Limberg
On 12/14/06, Bob <[EMAIL PROTECTED]> wrote: > > Waylan - > I have revision 4198, so that's okay, and my PYTHONPATH does not have > anything about Django or site-packages in it at all. However, when I > run python and print sys.path, I see: > > ['', 'c:\\Python24\\lib\\site-packages\\setuptools-0.

Re: help with tagging app

2006-12-14 Thread Rob Slotboom
> >That's easy. Hi Timm, Okay, this is a very simple example :-) But Luke Plant's Tagging App modell is realy a bit more comple. See>> http://groups-beta.google.com/group/django-users/browse_frm/thread/a7cbd4fd843583be/5ef4a59b78dbb2e1?lnk=gst&rnum=1&hl=nl#5ef4a59b78dbb2e1 --~--~-~--

Re: Re: Schema Evolution code

2006-12-14 Thread Russell Keith-Magee
On 12/13/06, Steve Hutton <[EMAIL PROTECTED]> wrote: > Does it have a realistic chance of being accepted into core if it's found > to be bug free? Is it fully documented? Is the design controversial or > does it follow a community consensus? There was discussion about the general problem of sc

Re: Re: Query returning all items with no M2M 'to_*_id' relationships

2006-12-14 Thread Russell Keith-Magee
On 12/12/06, naitsirhc <[EMAIL PROTECTED]> wrote: > This seems to be working quite well, and stays generic enough to use > for any M2M non-symmetrical field for a given model. Any thoughts, > comments, criticisms? Obviously, it would be nice to be able to support this sort of thing without havi

Re: Model inheritance

2006-12-14 Thread Russell Keith-Magee
On 12/14/06, Crispin Bennett <[EMAIL PROTECTED]> wrote: > > My first experiment with Django is a kind of wiki that involves being > able to add a variety of different types of pages, each with their own > set of fields. The obvious way to do this would be to create a base > model page class which

Re: null ordering in mysql

2006-12-14 Thread DavidA
MC wrote: > Problem: > I order dates and null values in ascending order under MySQL. To my > surprise, null values are listed first, then actual dates. Turns out > that in MySQL, null values are LOWER than non-null values, whereas > Postgresql is the reverse. As outlined here > http://troels.arvin

Re: manage.py - "test" not a known action - how do I do unittests?

2006-12-14 Thread Bob
Waylan - I have revision 4198, so that's okay, and my PYTHONPATH does not have anything about Django or site-packages in it at all. However, when I run python and print sys.path, I see: ['', 'c:\\Python24\\lib\\site-packages\\setuptools-0.6c1-py2.4.egg', 'c:\\Python24\\lib\\site-packages\\django

Re: How to change the representation of newline?

2006-12-14 Thread Aidas Bendoraitis
And what encoding is showed in the page info? ...when you right click somewhere in the page and choose "View Page Info" from the menu. Maybe just the default character encoding in your firefox settings is set wrongly? You can always override admin templates copying them into your custom_templates/

Re: How to change the representation of newline?

2006-12-14 Thread zhongke chen
It's not my html page, but the django admin page. the head of admin page is like this: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; lang="zh-cn" xml:lang="zh-cn" > 站点管理员 no encoding here, but lang = 'zh-cn'. and all chinese characters in my pages and my

Re: ImageField: Unique with number, not underscore?

2006-12-14 Thread [EMAIL PROTECTED]
Hi. Terji7 schrieb: > Oliver Lavery wrote: > > It seems that the most obvious way would be to alter _save_FIELD_file in > > django/db/models/base.py ~ line 335. [...] > > That sounds like a horrible way to me. Rather use the save() method in > the models: The uploaded image file is being saved b

Re: Django on a server with thin clients

2006-12-14 Thread Lars Stavholm
Joseph Heck wrote: > You can avoid the test database issue by having the students use SQLite as > the database backend. They can store the database in their home directories > and be good to go. > > -joe In addition, depending on your thin client solution, if you start tracd locally on your thin

Re: Help with get absolute url

2006-12-14 Thread conrad22
In other words, why can't I simply put {{organisation.get_absolute_url}} to return the organisation's detail page? Surely the whole point of the get_absolute_url is to be able to call an object from wherever? So what would I put in the model and/or urls.py to be able to do this? At the moment I

null ordering in mysql

2006-12-14 Thread MC
Problem: I order dates and null values in ascending order under MySQL. To my surprise, null values are listed first, then actual dates. Turns out that in MySQL, null values are LOWER than non-null values, whereas Postgresql is the reverse. As outlined here http://troels.arvin.dk/db/rdbms/#select-o

Re: alternatives to edit_inline

2006-12-14 Thread patrick k.
I´m also interested in this extension. does anyone has some information? thanks, patrick Am 13.12.2006 um 23:35 schrieb Justin: > > It looks like this edit_external option may be what you're looking > for: > http://code.djangoproject.com/ticket/1476 > > Does anyone know if this enhancement i