Re: User-set domain-prefixes, i.e. myname.googlegroups.com

2012-01-02 Thread Alec Taylor
On Mon, Jan 2, 2012 at 5:27 AM, creecode  wrote:
> Hello Alec Taylor,
>
> I've done something like this at one of my websites.
>
> The basic steps I use are gather the info in a form.
>
> On form submit the info goes into a website registration database and the
> user is sent a website creation confirmation email.
>
> The user receives the email and clicks on the supplied confirmation link.
>
> The user is informed that they will receive an email when their website has
> been created.
>
> (The above should be familiar to those of you that have used James Bennett's
> django-registration.  It's basically the same mechanics but applied to
> website registration/creation.)
>
> A cron job triggers once a minute and scans the website registration
> database, creating any confirmed pending website registration requests.
>
> The cron job sets up a django environment and calls a series of custom
> django-admin commands that creates databases, django projects, apache
> configs, etc.
>
> The DNS config for the domain is given a wildcard (*.googlegroups.com)
> address record and Apache is used to redirect to a default domain for any
> domain that isn't picked up by Apache's config files.
>
> Toodle-looo
> 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/-/0VvJsoARllkJ.
> 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.

Thanks a heap!

I'll see if I can set this up.

---

Do you think this sort of layout is popular, or would
googlegroups.com/myname be better (or be provided as an alternative)?

-- 
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: User-set domain-prefixes, i.e. myname.googlegroups.com

2012-01-01 Thread creecode
Hello Alec Taylor,

I've done something like this at one of my websites.

The basic steps I use are gather the info in a form.

On form submit the info goes into a website registration database and the 
user is sent a website creation confirmation email.

The user receives the email and clicks on the supplied confirmation link.

The user is informed that they will receive an email when their website has 
been created.

(The above should be familiar to those of you that have used James 
Bennett's django-registration.  It's basically the same mechanics but 
applied to website registration/creation.)

A cron job triggers once a minute and scans the website registration 
database, creating any confirmed pending website registration requests.

The cron job sets up a django environment and calls a series of custom 
django-admin commands that creates databases, django projects, apache 
configs, etc.

The DNS config for the domain is given a wildcard (*.googlegroups.com) 
address record and Apache is used to redirect to a default domain for any 
domain that isn't picked up by Apache's config files.

Toodle-looo
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/-/0VvJsoARllkJ.
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.



User-set domain-prefixes, i.e. myname.googlegroups.com

2012-01-01 Thread Alec Taylor
Good morning,

I want to integrate user-set domain-prefixes to the registration
process of my site.

Sample form:

Username: []
Name: []
Password: []
Email: []
Domain prefix: [].googlegroups.com

How would I go about doing this in Django? — I suspect there would be
some facets of this (i.e. DNS) outside the scope of Django, but there
would be a good portion of it possible within Django.

Thanks for all suggestions,

Alec Taylor

-- 
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.