These are both interesting solutions. I will give them a try, thanks!
On Tuesday, March 22, 2016 at 2:08:27 AM UTC+1, jorr...@gmail.com wrote:
>
> I'm wondering if I understand the Sites framework correctly... I'm
> building a forum-like project which will initially be accessible from
> mydomai
We ran into this problem and decided to extend Django's
CurrentSiteMiddleware to allow for the specification of a default site to
use in the case when you cannot determine the current site from the host of
the incoming request.
Description of
problem: https://groups.google.com/forum/#!topic/ed
You can try something like below:
class CustomSiteManager(CurrentSiteManager):
def get_queryset(self):
current_site = Site.objects.get_current()
return super(CustomSiteManager, self).get_queryset().filter(
**{self._get_field_name() + '__id': current_site.id})
We
But if I don't set the SITE_ID in settings.py I can't use the
CurrentSiteManager, correct?
On Tuesday, March 22, 2016 at 1:33:39 PM UTC+1, Sai Kiran wrote:
>
> If you need to use single projects for more than domains, create an entry
> in django_site model by giving domain as well as verbose na
If you need to use single projects for more than domains, create an entry
in django_site model by giving domain as well as verbose name. Don't give
any SITE_ID in settings.py, instead of this you can use
Site.objects.get_current() in your view and compare the domain names and
change the header
I'm wondering if I understand the Sites framework correctly... I'm building
a forum-like project which will initially be accessible from mydomain.com .
The project contains several apps like posts, members, ads, etc. Eventually
I would like to create myseconddomain.com, which would have unique p
On Monday, January 4, 2016 at 3:39:22 PM UTC-8, Michal Petrucha wrote:
>
> Hi Nikolas,
>
> Thanks for your suggestion, unfortunately, I don't see how it helps in
> my case.
>
> What I'm after is some kind of integration test: when I try to load a
> page form the relying instance, verify that it
On Mon, Jan 04, 2016 at 03:22:10PM -0800, Nikolas Stevenson-Molnar wrote:
> HTTPretty may help with this. It will let you mock a response from the
> second server: https://github.com/gabrielfalcao/httpretty
>
> _Nik
Hi Nikolas,
Thanks for your suggestion, unfortunately, I don't see how it helps
HTTPretty may help with this. It will let you mock a response from the
second server: https://github.com/gabrielfalcao/httpretty
_Nik
On Monday, January 4, 2016 at 2:50:05 PM UTC-8, Michal Petrucha wrote:
>
> Hi folks,
>
> I'd like to write some tests for a simple redirect-based SSO solution,
HTTPretty may help with this. It will let you mock a response from the second
server: https://github.com/gabrielfalcao/httpretty
_Nik
On 1/4/2016 2:49:34 PM, Michal Petrucha wrote:
Hi folks,
I'd like to write some tests for a simple redirect-based SSO solution,
in which there's one instance of
Hi folks,
I'd like to write some tests for a simple redirect-based SSO solution,
in which there's one instance of an app responsible for
authentication, and all other instances redirect new sessionless users
to it, and then expect a redirect callback. Kind of like a simplified
version of OAuth in
I meant web based SSO :) The aforementioned Stack Exchange sites work like
this; when you authenticate to one of their sites, you actually
authenticate to Stack Exchange, which sets a cookie that is processed by
the sites. This can be done by one of the already available web servers
(although a sep
The servers are in DMZs in different cities. I don't control the firewall
configuration and I'm not allowed to open extra ports.
On Sunday, 8 November 2015 14:18:37 UTC-5, Gergely Polonkai wrote:
> How about an SSO solution hosted at one of the sites? When the user logs in,
> the site authentic
How about an SSO solution hosted at one of the sites? When the user logs
in, the site authenticates them against the SSO, and fetches user data. See
Stack Exchange sites (Stack Overflow, Server Fault, etc) as an example.
On 8 Nov 2015 18:24, "Stodge" wrote:
> I have several Django sites and I nee
I have several Django sites and I need to synchronize user accounts across them
all. I need the ability to create the same user on all sites at the same time
and also to keep their info in sync. The servers are in different locations in
DMZs and can't open connections to external servers. So no
nk.
>
> Missing PythonInterpreter directive in each to force each to run in
> separate Python sub interpreter.
>
> Graham
>
> > On Nov 19, 12:23 pm, Mark Freeman wrote:
> >
> >
> >
> > > I currently have a working site running Django
, and does it have real benefits over running separate applications. I
> have heard the following:
>
> *Your SITE_ID is set in settings.py, so in order to have multiple sites,
> you need multiple settings.py configurations, which means multiple distinct
> processes/instances. You c
n/dev/ref/contrib/sites/
My question is, is the site framework the right approach to a problem like
this, and does it have real benefits over running separate applications. I
have heard the following:
*Your SITE_ID is set in settings.py, so in order to have multiple sites,
you need mul
I'm not sure you can inherit the whole project, in any case I believe you
could make a boilerplate project and override whatever settings or models
as needed.
On Thu, Feb 14, 2013 at 11:25 AM, Jonathan ATTON
wrote:
> Hello,
>
> I currently have a website made with Django. I use models, databases
Hello,
I currently have a website made with Django. I use models, databases, admin
...
Now I need to create two new sites based on this first site. The first site
will become a abstract site.
I will have to do some differents update on these two new sites: add
attributs, update admin pages,
That domain and page do not exist...
On Apr 10, 4:42 pm, Mario Gudelj wrote:
> Hey man,
>
> See if this
> helpshttp://tidbids.posterous.com/saas-with-django-and-postgresql-schemas
>
> Cheers,
>
> -m
>
> On 10 April 2012 21:53, Bernardo wrote:
>
>
>
>
>
>
>
> > I would like to create a subdomain
Apache VirtualHost do that.
Listen 39986
NameVirtualHost *:39986
ServerLimit 2
ServerName domain1.com
ServerAlias www.domain1.com
WSGIProcessGroup django_group1
WSGIDaemonProcess django_group1 processes=2 threads=12
python-path=/home/user/djangosite:/home/user/path/python2.7
display-name=%{GROU
Hey man,
See if this helps
http://tidbids.posterous.com/saas-with-django-and-postgresql-schemas
Cheers,
-m
On 10 April 2012 21:53, Bernardo wrote:
> I would like to create a subdomain based authentication system, like the
> one on 37signals, freshbooks, codebase, etc. The objective is to do
>
I would like to create a subdomain based authentication system, like the
one on 37signals, freshbooks, codebase, etc. The objective is to do
something like smaller but in far smaller scale (I suppose a maximum of
100-1000 blogs). All other models (blog posts, comments, etc) already have
a forei
Hello,
In our company we make news portals for a pretty big number of local
newspapers (currently 13, going to 30 next month and more in the
future), each with 2k to 100k page views/day. Since we are evolving
from a situation where each site was heavily customized to one where
each difference is a
Hi Brian,
2 valid points that i hadn't even considered.
I'm also leaning towards using 1 project for 1 site.
I'm interested however why you don't use several apps then in a site?
1 app might be the authentication, another a blog and so on.
Wouldn't it be more useful if you try to seperate the lo
We've got 4 domain names which all comprise a single website. We went with
the second option where each domain is its own django project with a single
app in it. We liked this option for two reasons.
1) We wanted apache virtual hosts to be handling the decision about which
entry point to use in
Hi,
it's not exactly clear to me how the sites, projects and apps need to be
structured.
For instance, if you have 2 sites both with a domain name, how would you
structure
this in Django?
The Django project could be called "mysites" or whatever name.
In the admin site, you would then have 2 si
I'll soon be deploying a project that will need to be able to
dynamically add domains.
Each domain will have different users, separate data, and a different
SITE_ID, but will all run off a single Django instance. The data will
all be housed in a single database, since all domains' data will need
On 9 February 2010 03:25, neridaj wrote:
> I'm trying to setup my first cron job and I think the reason my script
> is not running is because I don't have DJANGO_SETTINGS_MODULE defined
> for my environment i.e., .profile script. I'm using mod_wsgi so my
> DJANGO_SETTINGS_MODULE is defined in the
I'm trying to setup my first cron job and I think the reason my script
is not running is because I don't have DJANGO_SETTINGS_MODULE defined
for my environment i.e., .profile script. I'm using mod_wsgi so my
DJANGO_SETTINGS_MODULE is defined in the respective wsgi file for each
site, so my question
I have flatpage attached to multiple sites. Its admin preview chooses
arbitrary site,
which is quite obvious after debugging up to lines 35-36 of
django.contrib.contenttypes.views.shortcut().
What would be the best way of fixing this problem?
I see that mentioned shortcut() function receives
x27;m in the process of
> > moving off a hosted VPS to my own local server, where the existing
> > Django site is.
>
> > My questions is more of best practice when deploying multiple sites to
> > the same server. Given that I have a running site, is it possible to
>
On Thursday 19 Nov 2009 11:01:10 pm Eric Elinow wrote:
> I currently do this for the 5 or so sites that I operate for a client. A
> single Apache setup for Django, with the various virtual hosts being
> directed to their own path(s), and any static media requests being port
> forwarded from ap
n wrote:
>
>> I currently have a working site running Django and now want to move a
>> couple of other of my sites to Django as well. I'm in the process of
>> moving off a hosted VPS to my own local server, where the existing
>> Django site is.
>>
>&
27;m in the process of
> moving off a hosted VPS to my own local server, where the existing
> Django site is.
>
> My questions is more of best practice when deploying multiple sites to
> the same server. Given that I have a running site, is it possible to
> deploy multiple Django
>
> My questions is more of best practice when deploying multiple sites to
> the same server. Given that I have a running site, is it possible to
> deploy multiple Django 'projects' to the same server and just use
> Apache to serve them out separately or is it best to use t
I currently have a working site running Django and now want to move a
couple of other of my sites to Django as well. I'm in the process of
moving off a hosted VPS to my own local server, where the existing
Django site is.
My questions is more of best practice when deploying multiple sites t
I didn't realise there was a "settings" option for syncdb - it works
beautifully! I now have multi site with multiple databases and one
application installation! Cool...
On Oct 30, 11:29 am, Stodge wrote:
> Oops - this might be what I need:
>
> SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings
Oops - this might be what I need:
SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings
So I created my new settings file that points to a different database
and made a new Apache alias to the new virtual Django site that I want
(so /django/fred instead of just /django). But how do I sync this DB
Sorry, forgot to say that is with mod_python.
On Oct 30, 10:48 am, Stodge wrote:
> Just wondering whether I could write a middleware that parsed
> request.path, say:
>
> /django/site1/index
>
> extracted and removed the site name as "site1" and switched the
> settings on the fly to use settings_
Just wondering whether I could write a middleware that parsed
request.path, say:
/django/site1/index
extracted and removed the site name as "site1" and switched the
settings on the fly to use settings_site1.py instead.
settings_site1.py would use DB named "site1_db".
Then it would process the r
I'm working on a CMS project, and my idea is to have one Django
project serve multiple websites. I want to set things up so that
user1, user2, user3, etc... can log into my CMS website (e.g. www.cms.com)
and update their respective websites (e.g. user1 updates www.user1.com,
user2 updates www.use
Hi Adam,
> I'm presuming I will use the sites app. However, I don't see how I
> can create and set the SITE_ID through the admin (which is necessary
> for number 2).
>
> Would people suggest that I use the RequestSite class from the sites
> app which uses the HttpRequest variables? If so, does
I'm creating a new project with pretty simple requirements:
1. A core set of methods for validating data which I will build.
2. The ability for a person with minimal skills to drop HTML form
pages (2 or 3) for a given hostname (www.example1.com, www.example2.com,
www.example3.com) that accept the
So we are building a CMS that should allow multiple sites to be
supported based on the sites framework or a sites key on various
models we want to be multisite. This is how I imagine it working:
Each publication site will be a separate django project using the same
database as the CMS. And
Russell,
I am working through something similar and I think that the basic
structure would be to have project folders for each site plus a folder
for your shared applications (whose models use the 'Site' object and
'CurrentSiteManager'. Something like this:
/home/django/sharedapps/
/home/django/sh
sites
installed for each project but not all of my apps are fully site aware
so I only use sites minimally at this time.
On Apr 11, 8:23 am, Russell McConnachie
wrote:
> I still have not come up with a creative way to design a site
> which hosts multiple sites - providing different html layouts, s
Hello,
I am new to Django, I've been reading over the Django "Sites" Model
framework but I still have not come up with a creative way to design a site
which hosts multiple sites - providing different html layouts, style sheets.
I am looking for someone to kind of explain
On Wed, Mar 4, 2009 at 9:14 AM, Dids wrote:
>
> Fixed the problem :)
>
> Turns out, underscores '_' are not valid characters for domain
> names ...
>
> Told you I was new to this...
>
> Thanks all for your input, much appreciated :)
>
Oops, when I saw your email, I searched in my GMail inbox for
On Wed, 2009-03-04 at 03:14 -0800, Dids wrote:
> Fixed the problem :)
>
> Turns out, underscores '_' are not valid characters for domain
> names ...
>
> Told you I was new to this...
Don't feel too bad about missing that. I know it's true, for example,
but I wouldn't have guessed that was going
Fixed the problem :)
Turns out, underscores '_' are not valid characters for domain
names ...
Told you I was new to this...
Thanks all for your input, much appreciated :)
Regards,
Didier,
--~--~-~--~~~---~--~~
You received this message because you are subscribe
On Tue, Mar 3, 2009 at 1:44 PM, Dids wrote:
>
>
>> Then it's not working fine.
>
> What could explain the missing cookies then? I get them for FF.
> Is there something "special" in IE that could explain the problem?
Equip yourself with a network sniffer , or a debugging proxy, or
a Firebug equiv
On Tue, 2009-03-03 at 07:44 -0800, Dids wrote:
>
> > Then it's not working fine.
>
> What could explain the missing cookies then? I get them for FF.
> Is there something "special" in IE that could explain the problem?
I have absolutely no idea. IE certainly is "special" and we can only
hope it
> Then it's not working fine.
What could explain the missing cookies then? I get them for FF.
Is there something "special" in IE that could explain the problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
On Mon, 2009-03-02 at 03:05 -0800, Dids wrote:
> Thanks for your input.
>
>
> Reading the following
>
> > Even non-logged in users have a session associated with them, which
> > Django uses a cookie to track.
>
> I did point the browser to the non-admin pages (available to all , no
> @login_re
Thanks for your input.
Reading the following
> Even non-logged in users have a session associated with them, which
> Django uses a cookie to track.
I did point the browser to the non-admin pages (available to all , no
@login_required).
It works fine, I can see the pages in IE, but no cookies a
On Fri, 2009-02-27 at 08:34 -0800, Dids wrote:
> I tried that, thanks for the input (it helped moving forward, see
> below).
> I've also changed the privacy settings in IE so I get prompted when
> cookies arrived.
>
> What I found is that on site1 (the working one), I get prompted for a
> cookie
I tried that, thanks for the input (it helped moving forward, see
below).
I've also changed the privacy settings in IE so I get prompted when
cookies arrived.
What I found is that on site1 (the working one), I get prompted for a
cookie as soon as I request the Admin page.
On site2, on the other
For each site, make sure you have
SESSION_COOKIE_DOMAIN = 'whatever.com'
in your settings. Otherwise your cookies will overwrite one another
and cause no end of troubles.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
Unless it's a known issue, I'm not expecting anyone to know for sure
what the problem is.
Thing is, I'm no expert to Django and Apache, and I don't really know
how to go about troubleshooting a cookie issue.
Again, if anyone has any pointer, it would be much appreciated.
Thanks,
Dids,
--~--~-
Hi,
I have 2 sites running on apache. ( 2 VirtualHosts ).
Everything works fine for the first one.
The second is mostly fine too.
The problem is that I cannot log into the system using Internet
Explorer. I get the message :
"Looks like your browser isn't configured to accept cookies.
Pleas
http://pastebin.com/m78d7486f
http://docs.djangoproject.com/en/dev/ref/contrib/sites/ i have
reffered this link but i have doubt shall i keep Article model's
class
in both site.
On Feb 11, 7:37 pm, Alex Gaynor wrote:
> On Wed, Feb 11, 2009 at 2:11 AM, Praveen
> wrote:
>
>
>
>
>
>
>
> > lets as
On Wed, Feb 11, 2009 at 2:11 AM, Praveen wrote:
>
> lets assume all in lowercase
>
> expo/expoapp/models.py
>
>
> class events(models.Model):
>title = models.CharField(max_length = 50)
>summary = models.CharField(max_length = 100)
>description = models.CharFiel
lets assume all in lowercase
expo/expoapp/models.py
class events(models.Model):
title = models.CharField(max_length = 50)
summary = models.CharField(max_length = 100)
description = models.CharField(max_length = 300)
event_type = models.ForeignKey(event_ty
On Jan 12, 3:05 pm, felix wrote:
> I'm running 3 sites on a shared db right now.
>
> I would say your option 2
Thanks for the feedback Felix. My initial concern was that two
projects sharing a database would not have any awareness of one
another and that things could potentially get tangled up i
t;Sites" framework, where the whole thing is one
> project with two settings files and two urls files.
>
> or
>
> 2) To build them as two separate projects pointing to the same
> database, with a set of shared apps between them.
>
> In other words, if the main point of the &quo
files and two urls files.
or
2) To build them as two separate projects pointing to the same
database, with a set of shared apps between them.
In other words, if the main point of the "Sites" framework is for view
sharing, we may not need to use it in order to deploy multiple sites
on
wish i could edit the previous post... but the styles issue was due to
the documentroot being a level below what it should have been... this
is working now using the website name as the NameVirtualHost... go
figure...
the carclubhub.com website is giving me a mod_python error, which is
expected a
will do, going through now... i did find this:
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value o
Go through all the Apache configuration files and find all mentions of
NameVirtualHost, Listen and SetHandler directives. Post what they are
here. If SetHandler is inside of a Location/Directory container, post
what that container directive is declared as. In turn, if they are
inside of VirtualHos
I have root access. I've just now attempted both moving the
NameVirtualHost *:80 around, from the python.conf to the httpd.conf,
and changed its location in the httpd.conf.
i've also moved the import for the python.conf as well, from above to
below the NameVirtualHost and there have been no chang
On Jan 5, 8:54 am, garagefan wrote:
> Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/
> python.conf:
> Invalid command 'xxx', perhaps misspelled or defined by a module not
> included in the server configuration
>
> it doesn't appear that anything in the is being read,
> but there
Starting httpd: Syntax error on line 1 of /etc/httpd/conf.d/
python.conf:
Invalid command 'xxx', perhaps misspelled or defined by a module not
included in the server configuration
it doesn't appear that anything in the is being read,
but there are no errors popping up related to it. i've change
Where exactly is the snippet file containing the Apache configuration
which you have added?
How is this being included into the main Apache configuration?
Try adding a syntax error into the snippet file, ie., add:
XXX
Then try and restart Apache. If it doesn't complain with an error in
Apach
i do appreciate all your assistance and am growing to understand the
server side a bit more. you're right about the documentation being...
light...
i've taken what you posted and have not seen a difference at either of
the websites mentioned the main page results in the base fedora test
page sayi
On Jan 4, 3:11 pm, garagefan wrote:
> this is rather aggravating as i'm unsure what exactly I need to give
> you to help me :/ this isn't your fault at all, as i'm an
> unexperienced with working with servers, mod_python, python and
> django.
>
> i am learning all this as I go along.
>
> i've g
this is rather aggravating as i'm unsure what exactly I need to give
you to help me :/ this isn't your fault at all, as i'm an
unexperienced with working with servers, mod_python, python and
django.
i am learning all this as I go along.
i've got two websites on my server, both with different IP
On Jan 4, 1:39 pm, garagefan wrote:
> there is currently only one virtual host set up, for the site i'm
> working on. I do not need anything to happen with the other url.
But why are you mentioning 'site2' in one of the other posts and
seeing for it what you only expect for 'site1'.
> i simpl
there is currently only one virtual host set up, for the site i'm
working on. I do not need anything to happen with the other url. my
django files are in a folder at the same level as the root folder of
the site.
i simply need a virtual host for www.website.net that sits at /home/
site1/ on my se
On Jan 4, 12:53 pm, garagefan wrote:
> no, as then i would need to use, for example...www.website.net/mysite/*
> instead ofwww.website.net/*for the various apps.
If you are mounting it at root of web site, you should not be setting
django.root with PythonOption directive for a start. You only
i currently only have two sites, one is not being developed at this
time.. but w/o the virtual host that site displays the same apps and
info at it's url as the site i am working on, which i do not want to
happen. what i have copied for my virtual host is really everything i
have.
As i said, i ha
no, as then i would need to use, for example... www.website.net/mysite/*
instead of www.website.net/* for the various apps.
as i said the locations worked perfectly before attempting to create
the virtual host. right now i need to have this virtual host point to
the correct website on my server.
BTW, with mod_python, if trying to host multiple Django sites inside
of same VirtualHost, you must set PythonInterpreter directive
differently for each.
You really need to provide a more complete example showing all the
sites and how they site with respect to each other and the VirtualHost
in the
On Jan 4, 12:17 pm, garagefan wrote:
> I've read the documentation, and it doesn't seem clear enough, or
> provide a fully working example?
>
> i've copied what i have in my python.conf file, keep in mind that i
> have removed site specific names and have made them generic
>
> NameVirtualHost *
I've read the documentation, and it doesn't seem clear enough, or
provide a fully working example?
i've copied what i have in my python.conf file, keep in mind that i
have removed site specific names and have made them generic
NameVirtualHost *:80
ServerName www.website.net
figured out the issue was with the * not including a port :)
now, pages aren't actually working...
NameVirtualHost *:80
ServerName www.site.net
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settin
and i don't want one to access another's django installation...
and the following doesn't seem to work
NameVirtualHost *
ServerName www.website.net
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settin
On 13 déc, 14:41, barbara shaurette wrote:
> This might be overkill, but you could use middleware and parse for the
> version number in request.path:
>
> from django.conf import settings
> from django.http import HttpResponseRedirect
>
> from mysite import settings as local_settings
>
> class Det
This might be overkill, but you could use middleware and parse for the
version number in request.path:
from django.conf import settings
from django.http import HttpResponseRedirect
from mysite import settings as local_settings
class DetectSiteVersion(object):
def __init__(self):
sel
On 12 déc, 13:14, will0 wrote:
> Hi all
>
> I can't figure out how to change TEMPLATE_DIRS according to the URL
> used.
>
> My purpose is to view two versions of the same site, e.g. mysite/v1/
> and mysite/v2/, but keep the same codebase. This is just for
> development so people in several countr
On 12 déc, 13:33, "Ramdas S" wrote:
> just a suggestion
>
> if it is just the templates you can write a loop inside in settings.py
> based on site_id
>
(snip)
> Pardon me if I didn't understand your question.
Nope. The OP is talking of using different templates for the same site.
--~--~---
just a suggestion
if it is just the templates you can write a loop inside in settings.py
based on site_id
like
if
SITE_ID==1:
TEMPLATE_DIRS =="///
elif SITE_ID==2:
TEMPLATE_DIRS =="somethingelse"
Pardon me if I didn't understand your question.
Ramdas
On Fri, Dec 12, 2008 a
Hi all
I can't figure out how to change TEMPLATE_DIRS according to the URL
used.
My purpose is to view two versions of the same site, e.g. mysite/v1/
and mysite/v2/, but keep the same codebase. This is just for
development so people in several countries can view the site and put
in their opinion
Noob question here. My web host allows one long running process per account
for the plan I am on. So I can run one django process. The setup is using
fastcgi if that matters (we don't have control over this--we are assigned a
fastcgi port or something and this is the command we use to run our dj
30 okt 2008 kl. 19.23 skrev Wayne M:
> exactly this and it makes fixing anything insanely difficult.
>
> Any suggestions to point me in the right direction would be
> appreciated... like I said I'm not sure if Django fits my needs in
> this case.
I think Django sounds ideal in your situation.
I'm looking at using Django for a project at work, which is an e-
commerce storefront that *must* be able to support multiple
storefronts, each storefront filtering a subset of the master products
database. For example, we might have a furniture store with the URL
furniture.mycompany.com or a rec
hi all.
A friend of mine is hosting a number of websites over at webfaction.
I've got them setup as follows.
/staticserves static content
/www django install serving 5 sites
/www2 django install serving 5 sites
/www3 django install serving 3 sites
all of the sites seem to be pointing
hi. I am trying to setup 11 websites sharing a common admin and
database using the sites framework. can someone help me out and tell
me how to get this installed over at webfaction.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
You could still connect to the same database from both sites but
distinct the content that should *not* be shared using a site_id. For
stuff like that the django.contrib.sites framework should be quite
useful :-)
http://www.djangoproject.com/documentation/sites/
- Horst
On Sat, May 17, 2008 at
1 - 100 of 147 matches
Mail list logo