Re: django hosting

2010-01-18 Thread nostradamnit
bells-n-whistles.net appears to be dead, but www.alwaysdata.com is alive and providing excellent hosting, with a free option. On Jan 17, 1:59 pm, alrobeler wrote: > hi i ve heard you can provide with free django > hostinghttp://www.jjude.com/2008/06/10/a-free-but-superb-django-hosting/ > if this

Re: Admin list_display loop though sub objects and output sum of values - newbie

2010-01-18 Thread nostradamnit
I recommend this book - and the answer to your question is in chapter 8. http://www.amazon.com/Practical-Django-Projects-Pratical/dp/1590599969 go ahead and get this one too http://www.amazon.com/Python-Essential-Reference-David-Beazley/dp/0672329786/ref=pd_sim_b_4 and read http://diveintopython.

Re: My Own Auth Backend

2010-01-18 Thread nostradamnit
Olivier, Look at this - http://stackoverflow.com/questions/1057149/django-users-and-authentication-from-external-source I imagine your problem comes from the fact that django.contrib.auth User is tied to the DB Sam On Jan 18, 12:09 am, Olivier Détour wrote: > up > > 2010/1/16 Détour Olivier :

custom view decorator with parameter

2009-11-02 Thread nostradamnit
I'm trying to write a custom view decorator that takes a parameter, and I can't for the life of me figure out how to pass the parameter. I've tried the nested function pattern, the class with __init__ and __call__ methods pattern, and I always run into the same basic error. It either says I have t

Re: Django crash when accessing User instance containing ManyToMany field only through request.user

2009-11-01 Thread nostradamnit
Hi, I'm not sure what's causing your error, but it appears that using User.add_to_class is not the recommended approach for extending the user model. James Bennet explains it very well here - http://groups.google.com/group/django-users/browse_thread/thread/a35d94ce1a7893b0/9e45e7bfc58cfa05?lnk=g

Re: Join .Net Community

2009-10-20 Thread nostradamnit
No thanks On Oct 20, 12:30 pm, Shawon_ wrote: > Join .Net Community > > This group represents the Microsoft .Net community. All .net > programmers all around the world are welcome here. In this group > you'll find the latest releases of .Net related products, frameworks, > Upgradation, technolog

Re: FormWizard and form data

2009-09-24 Thread nostradamnit
rrent_step] = {'post_code': profile.post_code, 'telephone': profile.telephone,} Hopefully this will be helpful to anyone else who needs to do this - or to me 6 months from now :) On Sep 18, 11:45 am, nostradamnit wrote: > I'm tryi

FormWizard and form data

2009-09-18 Thread nostradamnit
I'm trying to use a FormWizard for a 2 step form. In the first form, I want to populate the email and post code fields with data from the current user (request.user.email, request.user.profile.code_postal), but I can't see how to pass the data dictionary to the form?!? I see how to pass initial da

Re: ModelForm validation

2009-08-10 Thread nostradamnit
Thanks Karen, that was the problem (blush)... On Aug 10, 3:02 pm, Karen Tracey wrote: > On Mon, Aug 10, 2009 at 6:09 AM, nostradamnit wrote: > > > > > I have a form that inherits from ModelForm, and in my view, > > form.is_valid returns true, then save() bombs out wi

Re: noob question about part 2 of the tutorial

2009-08-10 Thread nostradamnit
It means you remove the line that says admin.site.register(Choice), as the choices will be integrated in the Poll admin page now. On Aug 10, 11:28 am, egrommet wrote: > I've just > reachedhttp://docs.djangoproject.com/en/1.0/intro/tutorial02/#adding-related... > in the tutorial and am trying

ModelForm validation

2009-08-10 Thread nostradamnit
I have a form that inherits from ModelForm, and in my view, form.is_valid returns true, then save() bombs out with validation errors?!? Does anyone know of a good tutorial/doc on this? Thanks, Sam --~--~-~--~~~---~--~~ You received this message because you are sub

calendar paging

2009-06-30 Thread nostradamnit
Hi all, I've implemented a simple calendar inclusion tag based on the django- calendar code at djangosnippets.com (http://www.djangosnippets.org/ snippets/129/). I've got it displaying in a sidebar, but I'm struggling with adding paging to it. I would like to add a link like "next month >>" at th

TinyMCE and Slugfield

2009-06-24 Thread nostradamnit
hi all - I'm having a weird problem. I've had TinyMCE working with a NewStory model in admin. I just added a new field, a Slugfield, and now the TinyMCE is completely different, and doesn't accept my input?!? Normally, the TinyMCE controls were at the bottom of the textarea, and now they're at th

Re: tinycme and filebrowser - unable to select image

2009-06-11 Thread nostradamnit
t; the filebrowser-templates ... because I don´t know what you mean with > > "the tinymce filebrowser template". > > > if you think you´ve found an error, please use the google-code issue- > > tracker to report it. > > > thanks, > > patrick > > >

Re: tinycme and filebrowser - unable to select image

2009-06-11 Thread nostradamnit
erent url- and path-settings (http:// > code.google.com/p/django-filebrowser/wiki/Settings). > > you may use firebug to get additional information on what´s wrong ... > > patrick > > On Jun 9, 4:53 pm, nostradamnit wrote: > > > Hello, > > > I've successfull

tinycme and filebrowser - unable to select image

2009-06-09 Thread nostradamnit
Hello, I've successfully implemented TinyMCE and filebrowser for flatpages, however, I can't seem to select the images that are displayed in filebrowser. If I click on the image, it just serves the image?!? How do you use it to select the image to insert into TinyMCE? if I paste the path from the