Re: Time Tracking Tool

2006-06-29 Thread oggie rob
> First i'd like to know if anyone has already done this kind of thing? I have a pretty basic time tracking and invoicing feature in my database. As people have pointed out, the biggest issue is printing consistently. However, you can avoid this headache (yes, it is going to be a headache!) if yo

Re: JS for TimeField

2006-06-29 Thread oggie rob
I submitted http://code.djangoproject.com/ticket/1848 which shows times in 30 minute increments (you can adjust the increment easily enough). Fits my (and my users) needs perfectly. It wasn't included but you are welcome to use the patch. -rob --~--~-~--~~~---~--~--

ManyToMany/ filter_interface / prepopluation problem

2006-06-29 Thread [EMAIL PROTECTED]
I just know this is a stupid question, but I'm only beginning to figure this out, so I hope you all will have mercy on me. I'm trying to establish a many to many relationship and use the filter_interface to select which items from A are applicable to B. My problem is that the first of the two box

Re: video upload

2006-06-29 Thread arthur debert
Yes, you will probably run into memory issues for larger uploads if you are on a shared host. There is,however, ticket's 2070 patch that adrresses that issue. http://code.djangoproject.com/ticket/2070 arthur --~--~-~--~~~---~--~~ You received this message becau

Re: video upload

2006-06-29 Thread Jeremy Dunck
On 6/29/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > Can we use file upload field to upload videos ??? Requests go into memory before being handled by the view, so large vids or much concurrency might exhaust memory. I haven't dug too far, but it'd be a pretty big change to make an HTTPRequest

Populating multiple text fields from a set of values. Possible?

2006-06-29 Thread Patrick J. Anderson
I am wondering if it is possible to populate a list of text input fields in admin forms from a default store (database or text). Perhaps a problem I'm trying to solve will illustrate it better. Code: class Project(models.Model): """ Production Projects """ name

video upload

2006-06-29 Thread Mary Adel
Can we use file upload field to upload videos ??? --~--~-~--~~~---~--~~ 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: Django Boot Camp

2006-06-29 Thread Jeremy Dunck
Zeldman very politely suggests I'm nuts. :) Response below: -- Forwarded message -- From: Jeffrey Zeldman <[EMAIL PROTECTED]> Date: Jun 29, 2006 2:12 PM Subject: Re: Contact from aneventapart.com To: Jeremy Dunck <[EMAIL PROTECTED]>, [EMAIL PROTECTED] At 4:46 PM + 6/29/06,

Re: Django, Trac and Svn?

2006-06-29 Thread Tyson Tate
If you want to set up a SVN repository to use with trac, that's a question better answered by the SVN documentation here: And the trac documentation here: If you have Django-specific issues, however, feel free

Django, Trac and Svn?

2006-06-29 Thread Facundo Casco
Hi, I'm starting a new project with Django and I'd like to use Trac (http://trac.edgewall.com/) with it. I have Trac installed and working but I'm lost trying to make Svn work with Django. Does anyone have done this and can give me a clue where to start? Thanks in advance. Facundo --~--~

Re: DoesNotExist at /accounts/login/

2006-06-29 Thread blue_beastie
I was experiencing this problem as well, so what I ended up doing is rebuilding dropping the entire database for my project and re-running "./manage.py syncdb". Doing this fixed the problem. I think this problem was caused when I removed example.com from the list of Sites in the admin interface. L

Re: Django Boot Camp

2006-06-29 Thread Jeremy Dunck
On 6/29/06, keukaman <[EMAIL PROTECTED]> wrote: > > I would love to participate in both if possible. An online version > would be most accessible as my time is limited during working hours. > But there's nothing like face-to-face training. Hopefully my enthusiasm won't step on toes, but I sent a

Re: Django Boot Camp

2006-06-29 Thread keukaman
I would love to participate in both if possible. An online version would be most accessible as my time is limited during working hours. But there's nothing like face-to-face training. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Django Boot Camp

2006-06-29 Thread Jeremy Dunck
On 6/29/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > Would make a great PyCon event... Next year... Agreed, but who want's to wait a year? Think of the poor PHPers! ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Django Boot Camp

2006-06-29 Thread Jay Parlar
On 6/29/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On 6/29/06, benchline <[EMAIL PROTECTED]> wrote: > > > > +1 for me as well. > > There are obvious benefits to a meatspace boot camp, but getting > enough interested people in one place may be the trouble. > > Perhaps the initial one could be

Re: Django Boot Camp

2006-06-29 Thread Jeremy Dunck
On 6/29/06, benchline <[EMAIL PROTECTED]> wrote: > > +1 for me as well. There are obvious benefits to a meatspace boot camp, but getting enough interested people in one place may be the trouble. Perhaps the initial one could be scheduled to coincide with and cross-promoted with a conference? --

Re: Time Tracking Tool

2006-06-29 Thread maphew
I quite like Task Coach (http://taskcoach.sourceforge.net/). It could use usability improvements like more keyboard shortcuts but for me it's a pretty good 80% solution. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Django Boot Camp

2006-06-29 Thread benchline
+1 for me as well. --~--~-~--~~~---~--~~ 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 PROTEC

Re: prepopulate_from

2006-06-29 Thread Chase
Still no dice. I'm noticing a couple quirks. The first comes where I have two fields prepopulating from one: Class Event(models.Model): name = models.CharField(maxlength=200) slug = models.SlugField(prepopulate_from=("name",)) print_title = models.CharField(maxlength=200, prepopulate_

Re: manytomany polimorphic

2006-06-29 Thread RajeshD
You could use a generic relation to implement keys that point to different types of Model objects. See: http://www.djangoproject.com/documentation/models/generic_relations/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: One-One relationship

2006-06-29 Thread Bryan Chow
1. Override the save() method in your person class to create a user object if one does not yet exist. 2. Try "True" with a capital T. 3. Should be solved by point 1. Hope this helps :) Bryan --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Almost there: A little help in how template dirs under Linux

2006-06-29 Thread mamcxyz
Nevermind, is the "feature" of Linux of case-sensitivity Now, I'm working in serve the media files... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Re: Exclusion by a many-to-many field to self

2006-06-29 Thread Russell Keith-Magee
On 6/29/06, Mikko Nylén <[EMAIL PROTECTED]> wrote:   Hand writing the SQL might work, though, I would need to hand-write the whole query, including other filters, and turn the results manually as Color objects. How exactly would "where/tables clauses in a filter" you mentioned work?The full detail

JS for TimeField

2006-06-29 Thread Kevin Fullerton
Hi,   If I define a models.TimeField in my model, the admin interface automatically generates the JS for popping up the time selection box - my question is do I have to edit the JS directly if I want the options given (Now, 6am, Noon, Midnight by default) to be different?   Many thanks   Ke

Re: Almost there: A little help in how template dirs under Linux

2006-06-29 Thread mamcxyz
How I know? The error is (sorry, I forget the error): TemplateSyntaxError at /buscar/ Template 'layoutinternal.html' cannot be extended, because it doesn't exist Request Method: GET Request URL:http://204.14.107.36/buscar/ Exception Type: TemplateSyntaxError Exception Value:

manytomany polimorphic

2006-06-29 Thread julián
I have a model similar to: class ProductOne(models.Model): name = ... price = ... ... class ProductTwo(models.Model): name = ... category = ... Whatever two different models. I want to log activity on this many models with a class like class LogEntry(models.Model): timestamp

Re: prepopulate_from

2006-06-29 Thread Chase
Weird ... If I add prepopulate_from to a handful of fields, the text fields typically prepopulate fine (although sometimes they don't), but nothing populates from the ForeignKeys. FireBug says it's not a Javascript error, so I assumed it was a framework limitation. I'll give it another shot later

Re: Redirect to another location in case of 404 and 500

2006-06-29 Thread Kristoffer
Adrian Holovaty wrote: > You can define custom handler404 and handler500 functions in your > URLconf. Just set it like this: > > handler404 = 'path.to.view' > handler500 = 'path.to.other.view' > This seems to be what I am looking for. > But I would STRONGLY suggest that you DO NOT redir

Re: Redirect to another location in case of 404 and 500

2006-06-29 Thread Adrian Holovaty
On 6/29/06, Kristoffer <[EMAIL PROTECTED]> wrote: > I was a bit unclear, but I want to redirect the user to a completely > new location in case of an error. > > Say, for example, that the user navigates to > http://mysite.org/myapp/dir/page, which causes an internal error. I > would like the user

Re: Redirect to another location in case of 404 and 500

2006-06-29 Thread Kristoffer
Unfortunately, no. I was a bit unclear, but I want to redirect the user to a completely new location in case of an error. Say, for example, that the user navigates to http://mysite.org/myapp/dir/page, which causes an internal error. I would like the user to get redirected to http://someothersit

Re: Redirect to another location in case of 404 and 500

2006-06-29 Thread Adrian Holovaty
On 6/29/06, Kristoffer <[EMAIL PROTECTED]> wrote: > Is there a simple way of redirecting the user to another location in > case of a 404 or a 500 error, like /mysite/global404.html and > /mysite/global500.html, respectively, instead of showing the standard > 404 and 500 templates? Hi Kristoffer,

Re: Redirect to another location in case of 404 and 500

2006-06-29 Thread Jay Parlar
On 6/29/06, Kristoffer <[EMAIL PROTECTED]> wrote: > > > Hi all, > > Is there a simple way of redirecting the user to another location in > case of a 404 or a 500 error, like /mysite/global404.html and > /mysite/global500.html, respectively, instead of showing the standard > 404 and 500 templates?

Re: Django t-shirts: your ideas wanted!

2006-06-29 Thread Jeremy Dunck
On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > http://flickr.com/photos/jcroft/177546105/ > > :) +1. Witty, non-PC comment over there. ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

One-One relationship

2006-06-29 Thread ama55
Hi: i am trying to establish a one to one relationship between 2 tables, i am using the OneToOneFields in the models.py, this is working in the first time. but the problems are as follows: 1) how can i force the person to create a user every time? (person and user are the 2 tables in the database)

Django in the news... (Greenpeace Melt project)

2006-06-29 Thread Jason Huggins
"Greenpeace goes open source in collaboration push" http://news.zdnet.co.uk/software/applications/0,39020384,39277583,00.htm An excerpt: "We wanted results pretty quickly," said Kleef. "And the basic idea was always to develop this using open source, so we could get more people to contribute to

Re: mailing list management

2006-06-29 Thread Ian Holsman
On 29/06/2006, at 7:12 PM, Malcolm Tredinnick wrote: > > On Thu, 2006-06-29 at 13:45 +1000, Ian Holsman wrote: >> anyone in django land integrated mailing lists with django ? > > I'm tempted to ask (quietly, and just to myself) "how hard could it > be?" > Then I looked at the sender and realis

Re: Selecting MySQL engine (InnoDB/MyISAM) when creating models

2006-06-29 Thread Geert Vanderkelen
James Bennett wrote: > On 6/28/06, Geert Vanderkelen <[EMAIL PROTECTED]> wrote: >> I'm also not sure how you going to use the full text >> searching unless there is a patch now too.. > > For just querying against the DB, having fulltext indexes set up > should be sufficient; the DB's query optimi

Re: mailing list management

2006-06-29 Thread Jeroen Ruigrok van der Werven
On 6/29/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > I'm tempted to ask (quietly, and just to myself) "how hard could it be?" Would it be strange to suggest integrating mailman and django? Both are Python and I think that mailman could use Django's backend/frontend for its maintenance. Usi

Redirect to another location in case of 404 and 500

2006-06-29 Thread Kristoffer
Hi all, Is there a simple way of redirecting the user to another location in case of a 404 or a 500 error, like /mysite/global404.html and /mysite/global500.html, respectively, instead of showing the standard 404 and 500 templates? Thanks for any input, Kristoffer --~--~-~--~~

Re: inheriting from models.Model

2006-06-29 Thread spako
for this problem i used the Generic foreign key/relationships. an example in the documentation: http://www.djangoproject.com/documentation/models/generic_relations/ although i didn't find anything about it in the Model API. there is another thing i'd like to do with the above comments example: w

RE: Exclusion by a many-to-many field to self

2006-06-29 Thread Mikko Nylén
Thanks,   I’d like to use the all – filter, but as this is going to be used in a search functionality where the user determines what filters he/she wants, it might easily return 0 to 10 000+, depending on the other filters, more results that is necessary. Not to mention, I would need to

Re: mailing list management

2006-06-29 Thread Malcolm Tredinnick
On Thu, 2006-06-29 at 13:45 +1000, Ian Holsman wrote: > anyone in django land integrated mailing lists with django ? I'm tempted to ask (quietly, and just to myself) "how hard could it be?" Then I looked at the sender and realised maybe you've done the basic research and there are hidden shoals.

Re: inheriting from models.Model

2006-06-29 Thread knobi
Hi, some time ago i did something similar and wondered to get some problems using the query manager. So when i used class Comment(models.Model): class VideoComment(Comment): and then asked VideoComment.objects.get(id='xyz') the Manager tried to to look up the Comment Table My solution was to ex

Problem upgrading from 0.95 build 3085 to 3233

2006-06-29 Thread olive
Hi, there is no problem using the database in place. The problem occures when I try to create the database from scratch: mysql -uroot -p%passwd% -e"drop database %database%" mysql -uroot -p%passwd% -e"create database %database%" python manage.py syncdb Creating table auth_message Creating tabl

Re: Django t-shirts: your ideas wanted!

2006-06-29 Thread Jeroen Ruigrok van der Werven
On 6/27/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > I'm about to print up some Django shirts to take to OSCON next month > -- got any ideas? Django, we work with a different swing (if you like Java references) Django, building the blue notes :) -- Jeroen Ruigrok van der Werven --~--~--

Re: Django Boot Camp

2006-06-29 Thread Paulo
add my vote for both. screencasts would be a great start with real-world bootcamps once the final release is out. On 6/28/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 6/28/06, keukaman <[EMAIL PROTECTED]> wrote: > > Does anyone have any thoughts on a "boot camp" for prospective Django >

Re: Django t-shirts: your ideas wanted!

2006-06-29 Thread [EMAIL PROTECTED]
http://flickr.com/photos/jcroft/177546105/ :) --~--~-~--~~~---~--~~ 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,

Re: Exclusion by a many-to-many field to self

2006-06-29 Thread Ivan Sagalaev
Ivan Sagalaev wrote: > This change might lead to some well hidden bugs. If someone was > deliberately using the behavior of join that doesn't get records that > don't have their related counterparts then those queries would suddenly > yield much more results than they used to. To clarify... I