INSTALLED_APPS doesn't check my projet dir

2010-11-17 Thread mrmclovin
Hey! Im kinda following the offcial tutorial but I set up my project using another tutorial. My Problem now is that I'm trying to include the 'polls' app in the INSTALLED_APPS config. I must put "myproject.polls" to get it to work. But that's not very pluggable since in my apps I must refer to "my

Re: Custom queryset on a ModelForm field

2011-01-05 Thread mrmclovin
Thanks, that did the trick! On Jan 4, 9:22 pm, Daniel Roseman wrote: > On Tuesday, January 4, 2011 7:42:16 PM UTC, mrmclovin wrote: > > > Hi, > > > I have a 'project' model > > > class Project(models.Model): > >     title = models.CharField(max_leng

Re: Django's documention is horrible

2011-01-10 Thread mrmclovin
My apologies, didn't mean to sound like an a-hole. I do appreciate django very much for what it is. The library is beautiful really, but the documentation is the opposite. I wish I could spend time to help improve the documentation, but I have not the time. Instead I thought I'd make this (not ve

Re: Django's documention is horrible

2011-01-10 Thread mrmclovin
I usually end up in that way too. But I don't find it convenient. There's lots of class relations and going back and forth is clumsy. Also in most cases Im just after the specification of a class or where it's defined and it takes longer time if you have to scroll down the source code as well. Have

Re: Django's documention is horrible

2011-01-10 Thread mrmclovin
Yes, being part of the community is good. But to base help and solutions by ask&answer is not good for documentation IMO. I don't like to ask questions because then I have to explain the problem, word everything right and then wait for an answer. I prefer to find the answer quick on my own and only

Re: Django's documention is horrible

2011-01-11 Thread mrmclovin
On Jan 11, 7:44 am, Sam Lai wrote: > On 11 January 2011 13:39, Christophe Pettus wrote: > This isn't about patches to the existing docs (which are great for > their purpose). It is about Django missing an API reference manual, > something like .NET Class Library Reference > (http://msdn.microsoft

Re: Django's documention is horrible

2011-01-11 Thread mrmclovin
On Jan 11, 9:59 am, Masklinn wrote: > > This analogy makes no sense whatsoever, I fear. hehe why? Wouldn't it be nice to host an online reference instead of letting users "compile" the source themselves? Guess I will try pydoc now and get my own html reference. I hope next time someone is lookin

Re: Django's documention is horrible

2011-01-11 Thread mrmclovin
On Jan 11, 1:51 pm, Masklinn wrote: > On 2011-01-11, at 13:47 , mrmclovin wrote:> On Jan 11, 9:59 am, Masklinn > wrote:y? > > Because you don't have to compile APIDocs to be able to use Django. > Okey, the analogy was not about django itself, but a reference manual. &g

Signals and foreign key

2011-01-15 Thread mrmclovin
Hey, Im trying to get the signal pre_save to work on my model but there seems to be some problem with a foreign key or something. My model is like this: class BlogEntry(models.Model): headline = models.CharField(max_length=100) content = models.CharField(max_length=2000) written_by = m

Re: Signals and foreign key

2011-01-16 Thread mrmclovin
Solved. Look at http://stackoverflow.com/questions/4704924/django-signal-callback-function-missing-foreign-on-model -- 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 unsubscri