Platform system with Django?

15 views
Skip to first unread message

Ian

unread,
Sep 26, 2011, 12:18:32 AM9/26/11
to Django users
I'm new to django, and at this point all I've done is the tutorial.

But my end goal is to create a website that serves as a platform
system.

I want users to go to my site, create an account, edit some settings/
preferences, and a subdomain (can you do this with django?).

Then within each subdomain, other people can register as users to this
particular subdomain, post things, etc.

Is it possible to do this? I can imagine the structure and how to get
the second part working (having users register on a particular
subdomain site, post things, etc), but I'm having trouble figuring out
where to get started with the first part (creating the subdomain site)

Is there a tutorial or guide to get me started with this platform
concept? Thanks so much!

Phang Mulianto

unread,
Sep 26, 2011, 3:12:20 AM9/26/11
to django...@googlegroups.com

of cource it can be done.
it will be your application logic jobs and the database layout...

> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

Markus Gattol

unread,
Sep 26, 2011, 3:25:06 AM9/26/11
to django...@googlegroups.com
Have you had a look at the sites framework yet: https://docs.djangoproject.com/en/dev/ref/contrib/sites/ That might just be what you're after...

kenneth gonsalves

unread,
Sep 26, 2011, 1:26:13 AM9/26/11
to django...@googlegroups.com
On Sun, 2011-09-25 at 21:18 -0700, Ian wrote:
> Is it possible to do this? I can imagine the structure and how to get
> the second part working (having users register on a particular
> subdomain site, post things, etc), but I'm having trouble figuring out
> where to get started with the first part (creating the subdomain
> site)

you will have to do this in python - but then django is nothing but
python anyway.
--
regards
Kenneth Gonsalves

jmontoya

unread,
Sep 26, 2011, 9:26:00 AM9/26/11
to Django users
You can use pinax is based in django and it has a lots of "website
templates", intranet, blog, social etc
You can easly customized it ...

http://pinaxproject.com/

Regards,

Julio

Ian

unread,
Sep 26, 2011, 8:25:25 PM9/26/11
to Django users
So I already have my site up and running in PHP/mySQL, but I want to
move to Django (and learn it in the process!)

The way I do it now is have a main table of posts, and the table of
posts has a column called "site". If the user accesses myproject.com/
mySite, it loads the posts from the database for everything with the
condition site=="mySite"
So I do it the same way in Django? Use the same logic, with Django's
sites framework?

That makes my life easy since the application logic is already done!
How do I handle the subdomain, though?

Thanks!
Reply all
Reply to author
Forward
0 new messages