These comments are for the OP, I'm just using Christopher's message to key 
off of...

On Saturday, October 13, 2012 10:59:56 PM UTC-7, Christopher Hartfield 
wrote:

You would have to yes first configure your name servers and allow your 
> website example.com to resolve each of those subdomains.  So hopefully 
> your number of users won't be too high :(  If your allowed you might find 
> it easier to do example.com/moris/, but I would assume you can't do that.


For your name server you'll want to use a 
wildcard<http://en.wikipedia.org/wiki/Wildcard_DNS_record>
.

Django can handle subdomains with certain plugins like: 
> http://django-subdomains.readthedocs.org/en/latest/index.html
>

You don't have to use a Django app to handle subdomains, all the routing 
can be handled with your webserver (like Apache, etc.)  It just depends on 
where you want to do your configuring. 
 

> Setting up multiple databases isn't too hard and you can use RAW SQL to 
> help you with it. 
>
 

> Django supports multiple databases (but I'm not sure you can use Django to 
> create a new db on the fly)
>

You can get Django to create a new database on the fly with the use of a 
custom management command.  Essentially you'll be using RAW SQL in the 
management command to do the database creation bit.  Keep in mind that you 
need to have a Django environment setup to use the custom management 
command.  That involves some overhead which only you'll be able to 
determine if it is appropriate for your situation.

You may want to read this thread on one way to do mass 
hosting<https://groups.google.com/d/msg/modwsgi/wp3ej772jgs/SXMzMZl5dN0J>if 
you're going to use mod_wsgi.

Toodle-loooooooooooooo
creecode

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/1_XG0SfjoA0J.
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.

Reply via email to