Svn pre-commit hooks with beanstalkapp.com

2009-02-15 Thread Sean Brant
Has anyone created a work around for lack of pre-commit support at beanstalkapp.com. I would like to run tests on my apps before they get committed to my repository however with beanstalk you do not get access to subversion hooks. I was thinking of creating a python script that would preform the t

MHVLUG Web Hackathon

2009-02-06 Thread Sean
event please feel free to contact me directly. -Sean O'Connor --~--~-~--~~~---~--~~ 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 u

Re: Expression Engine for Django?

2009-01-29 Thread Sean Perry
On Thu Jan 29 13:49 , "maltebeckm...@mac.com" sent: > >I am an Expression Engine (CMS) fan who recently got convinced that >Python is way cooler than PHP. Problem is that Expression Engine is >written in PHP. > >Is there an Expression Engine for Django, i.e. an installation package >that can b

Re: Django Comments framework

2008-12-28 Thread Sean
Hello, I removed the preview button as it did not preview, it posted. To redirect the "post" add the following line to the comment form: where <> is what page you want to view after posting. Sean On Dec 27, 4:30 pm, stereoit wrote: > Hi, > I tried to a

Re: Error in: python manage.py syncdb

2008-11-11 Thread Sean
On Nov 11, 2:50 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 8:16 PM, Sean <[EMAIL PROTECTED]> wrote: > > > When I run the command python manage.py syncdb to sync database, but > > failed > > > I got the following

Re: Sync Database failed, using "python manage.py syncdb"

2008-11-11 Thread Sean
On Nov 11, 7:22 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 11, 1:18 am, Sean <[EMAIL PROTECTED]> wrote: > > > When I run the command "python manage.py syncdb" to sync database, but > > failed > > > I got the following error messages:

Sync Database failed, using "python manage.py syncdb"

2008-11-10 Thread Sean
When I run the command "python manage.py syncdb" to sync database, but failed I got the following error messages: File "C:\Python25\Lib\site-packages\django\contrib\auth\management \_init_.py". line 47 , in signals.post_syncdb.connect I got django1.0, Python2.52, Apache2.2.9, MySQL5.0.67, PHPM

Error in: python manage.py syncdb

2008-11-10 Thread Sean
When I run the command python manage.py syncdb to sync database, but failed I got the following error messages: File "C:\Python25\Lib\site-packages\django\contrib\auth\management \_init_.py". line 47 , in signals.post_syncdb.connect I got django1.0, Python2.52, Apache2.2.9, MySQL5.0.67, PHPMyA

Re: Admin Interface for Searching Only

2008-10-29 Thread Sean
to recreate the interface in some ways? Thanks, Sean On Oct 29, 10:07 am, Sean <[EMAIL PROTECTED]> wrote: > I just found this: > > http://www.djangoproject.com/documentation/databrowse/ > > but other input is welcome. > > Thanks, > Sean > > On Oct 29, 9:4

Re: Admin Interface for Searching Only

2008-10-29 Thread Sean
I just found this: http://www.djangoproject.com/documentation/databrowse/ but other input is welcome. Thanks, Sean On Oct 29, 9:43 am, Sean <[EMAIL PROTECTED]> wrote: > I add a staff user with no additional permission to my admin > interface, hoping that they would be abl

Admin Interface for Searching Only

2008-10-29 Thread Sean
interface instead of writing a new one, since eventually some of these users may also have edit rights (however others may still be restricted to searching). Is there an easy way to accomplish this in admin.py or elsewhere? Thanks, Sean --~--~-~--~~~---~--~~ You

[OT] [JOB] Django developer required for location-aware advertising startup in London, UK

2008-10-16 Thread Sean Legassick
meetings. You can apply via http://mobgeo.standoutjobs.com/jobs/1489-junior-developer -- Sean Legassick [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: "ColorField"?

2008-07-21 Thread Sean Legassick
e? I've uploaded a snippet at http://www.djangosnippets.org/snippets/900/ (note this works with current trunk - i.e. post newforms-admin merge. If you need it for the old admin I also have the code knocking about, it's fairly similar - let me know

Re: Incrementing by 4 instead of 1?

2008-05-20 Thread Sean
Something which may cause this is if your template includes any empty image, javascript, or css references (i.e. ). If you have anything like this in your template, your web browser will fetch the page multiple times (it will think that current page is the file you are trying to reference) causin

Re: advice on table joins

2008-01-10 Thread Sean Perry
Ken wrote: > I need some advice. I'm struggling with a query that spans 4 tables. > "Struggling" is a bad word; I'll explain later. Django uses a model- > oriented query system together with a Foreign Key manager to get to > the "next" joining table. A query that spans several tables results >

Re: Django is more?

2008-01-05 Thread Sean Perry
Jeff Anderson wrote: > Does anyone else use django for a framework? > > Jeff Anderson > Django is the back end for my home multimedia system (-: The web interface is nice, but during initial design I have simple scripts like the following which plays a random 3 songs from each artist in the

custom ordering on related objects

2007-12-10 Thread Sean Perry
Say we have: class Foo(models.Model): title = models.CharField(max_length=128) number = models.PositiveSmallIntegerField() bar = models.ForeignKey('Bar') class Meta: ordering = ['title',] class Bar(models.Model): title = models.CharField(max_length=128) c

Re: Do away with django's support for python 2.3?

2007-12-01 Thread Sean Perry
AmanKow wrote: >> Also, in practice, there are a *lot* of >> installations still running Python 2.3. Sometimes it's just not >> convenient to upgrade your Python installation every couple of years. > > I understand that. But, with 2.6 coming soon and 3.0 on the horizon, > it seems that continue

question about custom orderings

2007-11-30 Thread Sean Perry
say I have the following classes: class Foo(models.Model): name = models.CharField(max_length=30) number = models.PositiveSmallIntegerField() def __unicode__(self): return u"%s(%d)" % (self.name, self.number) class Meta: ordering = ['name',] class FooColle

Re: Can I run Django on my Sun-Ray?

2007-11-24 Thread Sean Perry
walterbyrd wrote: > I'm running Solaris 10. I have Python. I am not looking to build a > production site. Just trying to learn some django during dead time. > > I'm not sure what to do about a database. I don't think I can install > mysql or postgresql - maybe sqlite. Django runs on the Nokia we

GeoDjango: Can't find libraries and geos errors

2007-11-16 Thread Sean
cations in settings.py or somewhere? Also, on both OS X and Ubuntu, I get symbol not found errors for GEOSCoordSeq_getOrdinate when trying to import the geos tests (see below). Any help appreciated. Sean -: python manage.py shell Python 2.4.4 (#1, Nov 7 2007, 11:38:36) [GCC 4.0.1 (Apple Com

Re: does is_valid handle unique=True

2007-11-09 Thread Sean Perry
Kenneth Gonsalves wrote: > hi, > > I was using form_for_model with one field which has unique=True. This > form passes the is_valid test, but postgres barfs on the duplicate > entry - am I doing something wrong, or does is_valid not handle > unique=True? is_valid simply validates that the

newforms and multiple forms objects in one html form question

2007-11-03 Thread Sean Perry
I have a html form which will create an instance of a model plus its m2m relations. So you have something like: MainModelField1 MainModelField2 MainModelField3 ... m2mModelField1a, m2mModelField1b, m2mModelField1c m2mModelField2a, m2mModelField2b, m2mModelField2c ... hidden_count In my view

Re: keeping SECRET_KEY secret

2007-11-03 Thread Sean Perry
On Nov 2, 2007, at 6:02 AM, James Bennett wrote: > Personally I wonder if this is due to a conception that the *project* > is somehow the deliverable; I can understand how that conception would > be easy to form from the documentation, and I've suggested more than > once that the docs should empha

Re: How to implement funky caching

2007-09-22 Thread Sean Perry
On Sep 22, 2007, at 10:26 AM, julian.bash wrote: > > Thanks a lot for your answers! > > The even greater thing with funky caching is that the webserver only > has to serve html (if there is a cached version) and doesn't have to > run django. So, django's normal caching is good, but when the serve

Re: Django on Nokia 770?

2007-09-05 Thread Sean Perry
On Sep 5, 2007, at 4:16 PM, Steve Bergman wrote: > > Does anyone have comments about the possibility of running a django > server on the Nokia 770? Is it possible? I have a simple app that I > want to demo on it with both the django server and the browser running > on the same device. > Shoul

Re: Importing Excel/CVS into Database

2007-08-24 Thread Sean Perry
On Aug 24, 2007, at 3:27 PM, robo wrote: > > Wow, your tip works like a charm. > > Do you personally know of a good tutorial that teaches things like > this? I'd like to read them. > 1) read a Python book. Several good ones to choose from. Once you understand how the language works and how to "

Re: non-event driven method called?

2007-08-23 Thread Sean Perry
On Aug 23, 2007, at 12:12 PM, John Menerick wrote: > Inside my django app, regardless of the events of my django- > application, I would like to call a method every minute. Since > Django is heavily event driven, I'm at a loss as how to make this > work. I'm looking for a way to make this

Re: queryset cache

2007-08-23 Thread sean
d (imagine 50 drop down list with 600 tags each ;-)). I'll try to implement the functionality in javascript to clone the options for all fields. thanks again for the suggestions, sean --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: queryset cache

2007-08-22 Thread sean
ryset fo a large table qs=mediaform.base_fields['somefield'].queryset forms = [] for i in requested_forms: form=mediaform(data, auto_id="some_generated_id") # assign the queryset to the choices form.base_fields['somefield'].queryset = qs forms.append(form) And yes, I

queryset cache

2007-08-22 Thread sean
in forms %} ...print form {% form %} I guess the easiest way to avoid this behaviour would be somehow overwrite the form.base_fields['somefield'].choices.queryset with a cached queryset or something like that, but I couldn't get that to work, without hitting the database eve

Re: Row level security

2007-08-20 Thread Sean Perry
On Aug 20, 2007, at 6:41 PM, Catriona wrote: > > Hello > > Is there a way to implement row level security where a user can > determine who can do what to particular records - ie invoices? The > default would be full access only to the creater. > > I am looking at implementing a ContactInvoiveRole

Tutorials

2007-08-14 Thread Sean Culver
Hey all! I have kept quite on this email group but I have a question now, I have only seen one tutorial for django, are there more? I am really interested in learning and using django. Anybody done any screencasts? if so can anyone point me in the correct direction? Thanks alot! Sean

Re: url styling

2007-08-09 Thread Sean Perry
On Aug 9, 2007, at 10:21 PM, james_027 wrote: > > hi, > > is there any advantage or disadvantage or best practices in forming > urls? like which set are much better? > > domain/employee/1 > domain/edit_employee/1 > domain/inactive_employee/1 > > or > > domain/employee/1 > domain/employee/1/edit/

Re: age in years calculation

2007-08-03 Thread Sean Perry
On Aug 3, 2007, at 9:57 AM, Doug Van Horn wrote: def age(d, bday): > ... return (d.year - bday.year) - \ > ... ((d.month, d.day) < (bday.month, bday.day) and 1 or 0) Or to be a little more explicit about it: def age(d, bday): return (d.year - bday.year) - \

Re: Looping through my POST data?

2007-07-27 Thread Sean Perry
On Jul 27, 2007, at 10:36 PM, Greg wrote: > AssertionError at /rugs/cart/addpad/ > [u'0'] > > Does that mean that the value is 0? below is my view function and > template code: That little 'u' in front of the '0' means unicode so the value is the unicode string "0" not the number zero. Very di

Re: forloop variables without for

2007-07-19 Thread sean
Glad to help. {{ images.image_set.count }} or similar should work, depending on your models. cheers, Sean On Jul 20, 1:13 am, Marc Garcia <[EMAIL PROTECTED]> wrote: > Thanks mate, it works great. > > Anybody could tell me if there is something like that for counting > items

Re: forloop variables without for

2007-07-19 Thread sean
Try {{ images.0.image }} Sean On Jul 19, 7:43 pm, Marc Garcia <[EMAIL PROTECTED]> wrote: > Hi! > > In a project I get a set of images from a model, and then I display it > on the template. In same template (but in another place), I just want > to display first element

Re: Apache auth

2007-06-24 Thread Sean Mc Allister
Hi What I'm currently using: Server Version: Apache/2.2.3 (Ubuntu) DAV/2 mod_python/3.2.10 Python/2.5.1 And one of my apache directives: #full size images PythonPath "['/home/sean/whav'] + sys.path" PythonOption DJANGO_SETTINGS_MODULE

Re: Apache auth

2007-06-22 Thread Sean Mc Allister
Hi, I haven't seen this error myself yet, but you could try to use the patch here: http://code.djangoproject.com/ticket/3583 SmileyChris was so nice as to improve my initial patch, and possibly this will sooner or later even make it into trunk. cheers, Sean David Reynolds wrote: > Hi,

Re: Mysql sleeping queries

2007-06-20 Thread Sean Mc Allister
Just to let you know, I'm using postgres and I am also experiencing the same problems with revisions above 5481. It doesn't seem to leave every connection open, but more like 2 out of 3 or something like that. so it's not only a mysql thing. Sean David Reynolds wrote: > >

Re: Custom Model Field Help

2007-06-04 Thread Sean
> > Additionally I have a strange problem where any time I include this > > custom field in a model, that model no longer appears in the Django > > admin. There doesn't seem to be any errors in the field/model since I > > can use it with out problems from the shell. > > I haven't looked at this p

Re: Custom Model Field Help

2007-06-03 Thread Sean
Cool! Thanks for the feedback and advice, I'll be excited to check out what you guys have come up with. On Jun 3, 10:23 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-06-04 at 10:20 +0800, Russell Keith-Magee wrote: > > On 6/2/07, Sean <[EMAIL PROTE

Custom Model Field Help

2007-06-01 Thread Sean
Greetings, I am in the process of writing a custom model field. Its basically an encrypted char field, the idea is that when ever the field is saved to the database it would be encrypted and when it is loaded back from the database it would be decrypted. I have gotten the encryption and decrypt

Re: Securing static files

2007-05-18 Thread Sean Mc Allister
Hi, I made something similar by creating an Apache AccessHandler. You can have a look at the code here: http://www.djangosnippets.org/snippets/62/ You would have to change the permission checking to your needs, but basically you can do anything you want inside those functions, like check if the u

subclassing form_for_model

2007-05-04 Thread Sean Mc Allister
below for details) Any suggestions? thanks, Sean In [1]: from django import newforms as forms In [2]: from polls import models In [4]: PollForm = forms.form_for_model(models.Poll) In [6]: class PollFormWithTest(PollForm): ...: test = forms.CharField() In [7]: testForm=PollFormWithTes

Re: Error building an sqlserver database

2007-04-04 Thread Sean De La Torre
Maurizio, Take a look at this patch: http://code.djangoproject.com/ticket/2358 Sql Server will not work unless the patch is applied. Sean On 4/4/07, maurizio <[EMAIL PROTECTED]> wrote: > > > I succesfully managed to build an sqlite 3 db, now i'm trying to buil > an sql s

Re: changed template syntax?

2007-03-10 Thread sean
Hi Malcolm, just tried the new revison and the problem is gone. Thanks a lot for the fast fix. Sean > I think this should be fixed now in [4693]. Turned out to be a simple > change, but finding the line to change took a few minutes. > > Please give it a run and feel free to p

Re: changed template syntax?

2007-03-09 Thread sean
Thanks for the quick reply. I should really complete the move to newforms ;-) On Mar 9, 1:31 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > If it stopped working in 4676, then it's a bug in that changeset. Not > much in the way of testing for oldforms, so that's why it wasn't caught. > > Sor

changed template syntax?

2007-03-09 Thread sean
e correct syntax for displaying inline editable fields? cheers, Sean [1] http://code.djangoproject.com/changeset/4676 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: Template filter to retrieve the MEDIA_URL

2007-03-03 Thread Sean De La Torre
14/django-tips-template-context-processors > > On Mar 2, 10:45 pm, "ashwoods" <[EMAIL PROTECTED]> wrote: > > context processor would be better :) its just included in the context, > > while here you are "parsing" text. > > > > On Mar 3, 3:16 am, &quo

Re: Template filter to retrieve the MEDIA_URL

2007-03-02 Thread Sean De La Torre
n your templates: More information about the RequestContext can be found here<http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext> . Let me know if you have any questions. Sean On 3/2/07, Henrik Lied <[EMAIL PROTECTED]> wrote: > > > Hi the

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
erver 2000 doesn't have that, at least > Oracle has ROWNUM...! Thanks for the clarification though :) > > Mike > > On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: > > >Mike, > > > >Sorry for the confusion. The generic paginated view

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
hat a solution that accommodates both has to be created. Thanks, Sean On 3/1/07, Mike H <[EMAIL PROTECTED]> wrote: > > > > On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: > >With the exception of dataset paging, it is feature complete and stable

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
Take a look here for a MS SQL patch: http://code.djangoproject.com/ticket/2358 With the exception of dataset paging, it is feature complete and stable. It is working with the latest SVN release, and it will also work with version .95. Sean On 3/1/07, Jeremy Dunck <[EMAIL PROTECTED]>

django + apache authentication

2007-02-27 Thread sean
there some way to pass on the cookie to auth.handlers.modpython and let the user pass right away? sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: Re[2]: Upcoming Django release, and the future

2007-02-26 Thread Sean De La Torre
>> That's too bad. I have the patches in #2358, at least, to keep me >> going for now, which is good. Check the status on 2358 - it was recently accepted. I don't know when it will be applied, but it seems like they are actively looking at ti. Sean On 2/26/07, An

Re: apach/mod_python IE content-disposition weirdness

2007-02-06 Thread Sean De La Torre
I reintroduced the Vary header with a value of 'User-Agent' under HTTP 1.1, and it works fine. So, in summary, using HTTP 1.1 with a Vary header of 'Cookie' for other content types like 'application/vnd.ms-excel' is bad for IE. Sean Now I just have to figure out how

apach/mod_python IE content-disposition weirdness

2007-02-06 Thread Sean De La Torre
nt-disposition, and in Apache/mod_python it is the other way around. I forced the headers to be returned in the same order under Apache/mod_python as they are returned by WSGI, but that didn't fix the problem. Thanks, Sean --~--~-~--~~~---~--~~ You received

Re: inspectdb support for ado_mssql?

2007-01-24 Thread Sean De La Torre
't updated it to the latest SVN because of a lack of time, but it shouldn't be too hard to figure out in case there are conflicts. Sean On 1/23/07, Andrew Diederich <[EMAIL PROTECTED]> wrote: > > > Has anyone been able to get inspectdb working for 0.96-dev (svn) > django

Re: CSS Basics

2006-12-21 Thread sean
I need access control to the media (images in small, medium and full resolution), is there any point in using another apache instance if i want to use the django user authentication, or would the whole mod_python overhead go into memory anyway? On Dec 20, 7:49 am, "James Bennett" <[EMAIL PROTECT

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
I'm glad it worked! Let me know if you run into any other issues. The more people that look at this patch, the better. The one known gap in functionality is paging support, but everything else should work. On 10/26/06, abc123 <[EMAIL PROTECTED]> wrote: > > Hi Sean, >

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
or your replies. By the way, which version of Django are you using? Thanks, Sean On 10/26/06, abc123 <[EMAIL PROTECTED]> wrote: > > Sean De La Torre wrote: > > Can you post the entire traceback? I don't see this behavior with SQL > > Server 2000 or MSDE. I may have to

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
No, not really. There have been other users successfully using the patch against SQL Server 2000. I haven't run into anyone using SQL Server 2005 yet, so I'm interested in seeing if this is a problem specific to that version. Sean On 10/26/06, Carlos Yoder <[EMAIL PROTECTED]>

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
pection.py file. Does the logic in this file match the patch? If you are not sure, attach it to the email and I'll take a look at it. Sean On 10/25/06, Carlos Yoder <[EMAIL PROTECTED]> wrote: > > OK, here I go. > > I'm running the following, from my project's dir.

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
d with the patch from ticket 2358. Sean On 10/25/06, abc123 <[EMAIL PROTECTED]> wrote: > > Hello Sean, > > I'm also trying this; I've updated from SVN recently (a week or so > ago), then applied ticket 2358 diff 5 (by hand, but I have checked it > more than o

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
or django-admin.py in the directory below the project directory. Remember to run django-admin.py with the --settings option so it knows where to look for your settings file. Sean On 10/25/06, Carlos Yoder <[EMAIL PROTECTED]> wrote: > > I'm afraid I already applied that p

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
e let me know. On 10/25/06, Sean De La Torre <[EMAIL PROTECTED]> wrote: > Take a look at this ticket: http://code.djangoproject.com/ticket/2358. > > I combined that previous patch (2563) with 2358 because my patch was > dependent on it. Make sure that you've applied the latest

Re: How about a Django apps public repository?

2006-10-02 Thread Sean Schertell
style, I'll have to wait until a few things are "fixed" before I can use it effectively. Anyway, that's all from me for now folks. Sincere best wishes to all and huge thanks to the Django devs. I can't wait to see where this framework is headed. Cheers, Sean --~--~-

Re: How about a Django apps public repository?

2006-10-01 Thread Sean Schertell
nity. I posted publicly about giving up on django because I thought it might help air out some niggling issues in django. I was also curious to see if I was the only one struggling with these issues or if these were actually problems worth addressing. I certainly didn't mean

Re: How about a Django apps public repository?

2006-09-30 Thread Sean Schertell
rested, I've registered the domains djangoforge.com, .net, and .org. I'd be happy to donate those to the cause along with my apps so far. Best wishes, Sean On Oct 1, 2006, at 9:44 AM, Marc Fargas wrote: > > Uhm.. > I was waitting for Ian Holsman who said had something on pending of &g

Why I'm giving up on Django

2006-09-28 Thread Sean Schertell
is still young and I'll probably be back for a second look as it matures. I'm excited to see the upcoming replacement system for form wrappers/manipulators. I suspect that alone will be a major improvement. Thanks again to all. I'll see you soon ;-) Sean --~--~-~--~

Re: How to pass object *and* subobjects to FormWrapper?

2006-09-20 Thread Sean Schertell
Thank Patrick but I'm using a *custom* manipulator so my manipulator doesn't have those attributes. Sean On Sep 20, 2006, at 4:39 PM, patrickk wrote: > > not sure if this will solve the problem, but according to the > documentation you should use > 1. manipulator = P

How to pass object *and* subobjects to FormWrapper?

2006-09-19 Thread Sean Schertell
Using a custom manipulator, I'm trying to populate my form with existing data. But I can't get the data from the FK tables to show up. Here's a simplified example: Group name Member first_name last_name So let's say a Group can only have up to 6 members. And I have a

Re: How to save parents and multiple children with single form?

2006-09-18 Thread Sean Schertell
ds to save up to three new members to the > 'member' table. > > How in the world can I do this? > > Sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

How to save parents and multiple children with single form?

2006-09-18 Thread Sean Schertell
w group to the 'group' table, and it needs to save up to three new members to the 'member' table. How in the world can I do this? Sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: How do you raise and exception in Django?

2006-09-16 Thread Sean Schertell
Thanks Malcom. Actually somebody in the IRC showed me how to do exactly what I want with this: if the_thing != the_other_thing: raise StandardError ('This function doesn't work. Please fix it.') Does exactly what I wanted :-) Thanks guys! Sean On Sep 16, 2006, at 8

How do you raise and exception in Django?

2006-09-16 Thread Sean Schertell
logged anywhere either. ??? Sean --~--~-~--~~~---~--~~ 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,

Flakey file uploads in Safari

2006-09-16 Thread Sean Schertell
When submitting a simple form with just a name and a file, Safari hangs while submitting the form. If I click the submit button again, it usually works on the second or third click (totally inconsistent). In Camino, it submits every time flawlessly. What the FiretrUCK? Sean Code

Re: Has anyone run Django on a cpanel box (w/root access)

2006-09-15 Thread Sean Schertell
Right, rebuilding Apache 1.3 with mod_proxy looks like the only viable option at this point. I just wanted to see if anyone else had gone through this dilemma before and had some better ideas. Anyone? Django vs CPanel experience? :-) Sean On Sep 15, 2006, at 3:49 PM, Ian Holsman wrote

Has anyone run Django on a cpanel box (w/root access)

2006-09-14 Thread sean
hrough Apache. Any other suggestions? Sean --~--~-~--~~~---~--~~ 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

Re: Rails/Django comparison synopsis

2006-09-11 Thread Sean Schertell
ll- documented and it works very very well. The community is great too. Django is very much on par with Rails in terms of polish. Okay that's it -- back to work. Hope this helps somewhat :-) Sean On Sep 12, 2006, at 8:41 AM, Jeff Rodenburg wrote: > I'm trying to get some educ

Re: How about a Django apps public repository?

2006-09-11 Thread Sean Schertell
Wow -- you're fast ;-) Could you let us in on how it's gonna work, what your plans are? Sean On Sep 11, 2006, at 12:19 PM, Ian Holsman wrote: > > I've nearly got something together now. > I just need to add some basic templates for it. > > Give me a day or tw

Re: How about a Django apps public repository?

2006-09-10 Thread Sean Schertell
Any other apps contributions? Also, more thoughts on how you'd like to see this implemented would be much appreciated. How would you like this site to work? What features do we need at a minimum? Thanks! Sean On Sep 9, 2006, at 12:33 PM, Jeff Forcier wrote: > > Sean Schertell w

Re: How about a Django apps public repository?

2006-09-09 Thread Sean Schertell
d work? anyone wanna volunteer to help build it? :-) Sean On Sep 9, 2006, at 9:16 PM, charles sibbald wrote: > I have a dual processor opteron server located in a Tier 1 internet > site at manchester university. > > We could probably use this, I currently have it set up to serve

Re: How about a Django apps public repository?

2006-09-08 Thread Sean Schertell
es: A very lightweight request to template mapper (similar to TemplatePages) Any other contributors? Sean On Sep 9, 2006, at 4:35 AM, Jeff Forcier wrote: > > Marc Fargas wrote: > >> I like the idea of the Cheeshop and more the one of different >> TRACs, but on >> the

Re: How about a Django apps public repository?

2006-09-08 Thread Sean Schertell
Very interesting points. Does anyone have any thoughts on using Google code hosting for this idea? Anyone know off the top of their heads whether or not we'd be able to create a Django "category" within Google or would it just sort of be lumped in with all the other Pyth

Re: How about a Django apps public repository?

2006-09-07 Thread Sean Schertell
g it off-site somewhere? (more likely to really get used if it's on the official site). Cheers, Sean On Sep 8, 2006, at 12:07 AM, limodou wrote: > > +1 > > I also suggested similar subject before. > > -- > I like python! > My Blog: http://www

How about a Django apps public repository?

2006-09-06 Thread Sean Schertell
odular plug-and-play in Django is *really* cool (Rails can't do that). So why not leverage the "pluggability" of Django's app architecture by making a bunch of these apps public? Am I alone on this? If I created such a repository would anyone use it? Sean --~--~-~

Re: can't open file 'django-admin.py'

2006-09-05 Thread Sean
If I understand you correctly your problem is the shell not finding the django-admin.py file. Setting the PythonPath doesn't put django-admin.py on your normal Path, which is used to find commands in the shell. So you could either symlink django-admin to some place in your Path, like /usr/bin, or

Re: Custom manipulators: How to associate a model?

2006-09-04 Thread Sean Schertell
? This is really the crux of my initial question I think -- and the docs really don't seem to address this at all. Please help! -- my deadline is looming! :-) Thanks all, Sean On Sep 4, 2006, at 11:19 PM, [EMAIL PROTECTED] wrote: > > If your custom manipulator is for creating

Re: confusion with ManyToMany relation on self

2006-09-04 Thread Sean Perry
http://code.djangoproject.com/ticket/2653 --~--~-~--~~~---~--~~ 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

Re: confusion with ManyToMany relation on self

2006-09-04 Thread Sean Perry
Russell Keith-Magee wrote: > On 9/4/06, Sean Perry <[EMAIL PROTECTED]> wrote: >> >> So according to this, I am doing things correctly and should not get an >> error. Bug? Code change without document update? > > > Yes, this seems to be a bug. The documentati

Custom manipulators: How to associate a model?

2006-09-04 Thread Sean Schertell
does django know what model we're dealing with? The docks are pretty sparse about custom manipulators. Thanks, Sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

confusion with ManyToMany relation on self

2006-09-04 Thread Sean Perry
Consider: class Foo(models.Model): related = models.ManyToManyField('self') suggestions = models.ManyToManyField('self') Both should be symmetrical. If A suggests B, B suggests A (for this code base anyways). What I expected to happen is adding B to A would add A to B. Instead I get:

Re: manage.py: error: no such option: -u

2006-09-03 Thread Sean Perry
petrov wrote: > Hi, > > i am not sure how everyone else does this but here goes. > > I have some sample data in xml. so, i converted added the "insert into > ...values(..) " format and placed into the myapp/sql/myapp.sql > > at this pont i wanted to clear the table and add the sample data. > ho

Re: How to use month/date/year menus for date?

2006-09-03 Thread Sean Schertell
> On 9/3/06, Jakub 'teodor' Krajniak <[EMAIL PROTECTED]> wrote: >> Sean Schertell wrote: >> (...) >>> The question is, how can I get those three menus to create a single >>> date object that plays nice with Django? >> >> I think

Re: How to use month/date/year menus for date?

2006-09-03 Thread Sean Schertell
Thanks for the tips folks. I'm a little surprised that Django makes you work so hard to make such a totally standard form element (a date as three pulldown menus). Is there really no easier method? Sean On Sep 3, 2006, at 1:31 AM, Jakub 'teodor' Krajniak wrote: > > &

Re: How to use month/date/year menus for date?

2006-09-01 Thread Sean Schertell
n is, how can I get those three menus to create a single date object that plays nice with Django? Thanks, Sean On Sep 1, 2006, at 11:55 PM, coulix wrote: > > Building a menu i dont know, > bu getting the data yes > > exemple the month list of a Entry model with a cre

How to use month/date/year menus for date?

2006-09-01 Thread Sean Schertell
happy? Thanks in advance, Sean --~--~-~--~~~---~--~~ 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, sen

<    1   2   3   >