Re: Why django? Framework design or language

2009-06-13 Thread Jochem Berndsen

Joshua Partogi wrote:
> Hi all,
> I know that this questions rise up often in this list, but I have a
> different side of view about the reason to choose django.
> 
> I was wondering whether most people here choose django because of:
> 
> a) the language itself and they already master python, so they choose django
> b) the design and the feature of the framework itself that fits their needs
> 
> Okay, as for me, I chose django because of the design of the framework
> itself and the feature django offer. I'm not really a python programmer and
> was not a python programmer back then.

I only use it because of (b), I don't care too much about Python and
don't think it is a very good language (I prefer statically typed and
functional languages). But Django makes it worth it :)

-- 
Jochem Berndsen | joc...@functor.nl
GPG: 0xE6FABFAB

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Problem with startproject

2009-06-02 Thread Jochem Berndsen

Technicalbard wrote:
> OK - newb here (in more ways than one).  I'm trying to get going on an
> Ubuntu VM (inside VirtualBox) and I installed Django via synaptic.
> 
> The problem comes when I try to start the tutorial:
> 
> mor...@morgan-laptop:~/www$ django-admin startproject mysite
> Error: [Errno 13] Permission denied: '/home/morgan/www/mysite'
> 
> I made sure that I have ownership of the /www folder (as opposed to
> root having ownership), but that didn't make a difference.

This is not the /www directory, but the /home/morgan/www/ directory.
You do not need ownership (although it is customary of directories under
your home directory), but write permission.

Execute
sudo chown morgan ~/www
sudo chmod 755 ~/www

If there are any files in ~/www, such as an existing 'mysite' directory,
delete them.

HTH,

-- 
Jochem Berndsen | joc...@functor.nl
GPG: 0xE6FABFAB

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



"Conditional fields" in forms

2009-05-27 Thread Jochem Berndsen

All,

Is there an easy way to include "conditional fields" in forms within the
Django framework. By "conditional fields", I mean fields that are shown
or not shown depending on earlier choices the user made in the form.
What would be the canonical way to implement this?

Thanks for your consideration.
Regards,

-- 
Jochem Berndsen | joc...@functor.nl
GPG: 0xE6FABFAB

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---