Re: Platform system with Django?

2011-09-26 Thread Ian
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!

On Sep 26, 9:26 am, jmontoya  wrote:
> 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
>
> On Sep 26, 6:18 am, Ian  wrote:
>
>
>
>
>
>
>
> > 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 aplatform
> > 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 thisplatform
> > concept?  Thanks so much!

-- 
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: Platform system with Django?

2011-09-26 Thread jmontoya
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


On Sep 26, 6:18 am, Ian  wrote:
> 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!

-- 
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: Platform system with Django?

2011-09-26 Thread kenneth gonsalves
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

-- 
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: Platform system with Django?

2011-09-26 Thread Markus Gattol
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...

-- 
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/-/PCEgsyKf-ywJ.
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: Platform system with Django?

2011-09-26 Thread Phang Mulianto
of cource it can be done.
it will be your application logic jobs and the database layout...
On Sep 26, 2011 12:57 PM, "Ian"  wrote:
> 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!
>
> --
> 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.
>

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



Platform system with Django?

2011-09-25 Thread Ian
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!

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