Re: [mezzanine-users] Mezzanine look and feel not rendering when Debug=False

2016-03-13 Thread Ryne Everett
http://mezzanine.jupo.org/docs/frequently-asked-questions.html#static-files On Sun, Mar 13, 2016 at 4:30 AM, Venkateswararao Thota < thota.v@gmail.com> wrote: > Looks like the static contents not loading when Debug=False, Any > suggestions? > > -- > You received this message because you are

[mezzanine-users] Re: Why do not host_themes work?

2016-03-13 Thread Derek Adair
I'm not sure its meant to work for specific subdomains. Are you creating a separate site for each subdomain? I'm pretty sure thats how it works. Check out the source code for

[mezzanine-users] Why do not host_themes work?

2016-03-13 Thread wh4n
Am I the only one that struggles with the host_themes setting? I tried with the following: HOST_THEMES = [ ('localhost', 'theme_1'), ('andrea.localhost', 'theme_2'), ] theme_2 won't be loaded to the subdomain blog andrea.localhost for some reason. What could that reason be? -- You

[mezzanine-users] Re: Why do not host_themes work?

2016-03-13 Thread Derek Adair
line 81 is the function you're looking for. you also may try to make sure both themes are in your INSTALLED_APPS On Sunday, March 13, 2016 at 12:41:50 PM UTC-5, wh4n wrote: > > Am I the only one that struggles with the host_themes setting? I tried > with the following: > > HOST_THEMES = [ >

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-13 Thread Ryne Everett
> > Apologies, i read your comments as advocating for folding it into the code > base. But please let me clarify what that means to me. I am not advocating > for or against keeping these projects in the same repository, I am > advocating for a clean break from the forks and ownership of these

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-13 Thread Derek Adair
Apologies, i read your comments as advocating for folding it into the code base. But please let me clarify what that means to me. I am not advocating for or against keeping these projects in the same repository, I am advocating for a clean break from the forks and ownership of these projects

[mezzanine-users] Re: Why do not host_themes work?

2016-03-13 Thread wh4n
Hey Derek, Thanks for the reply. Yes, that's correct. I create new site for each subdomain that I would like to use and then add them to the HOST_THEMES in settings.py. Both themes are in INSTALLED_APPS as well. On Sunday, 13 March 2016 19:40:18 UTC+1, Derek Adair wrote: > > I'm not sure its

Re: [mezzanine-users] How to use wildcard solution to display content

2016-03-13 Thread Ryne Everett
I think you need to do some url rewriting outside of django. I haven't looked at this solution very closely but maybe it will give you some ideas: http://stackoverflow.com/questions/29938338/django-multi-tenancy. On Sun, Mar 13, 2016 at 5:06 AM, wh4n wrote: > Hello guys, > > I

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-13 Thread Derek Adair
Absolutely not necessary, especially if upgrading grappelli is to remain on the table at all. I'll start looking at how the mezzanine documentation is structured and see if i can't make some kind of contribution; I'd love to get involved i'm just still wrapping my head around it all. I should

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-13 Thread Derek Adair
Clearly I suck at collaborating via text. I'm not very experienced in it, I work much better when I can have discussions in person so its a challenge to articulate on these forums. Thank you all for your patience and responses. On Sunday, March 13, 2016 at 9:58:22 AM UTC-5, Derek Adair

Re: [mezzanine-users] How to use wildcard solution to display content

2016-03-13 Thread Derek Adair
Very elegant solution, nginx is a great tool here and this solution should work just fine. However, this is entirely achievable in django using django's middleware to look up an account ID and attach the account object to the view. Here is a detailed article explaining how to do this.

[mezzanine-users] Filebrowser + S3: A game of whack-a-mole

2016-03-13 Thread Derek Adair
I'm having some trouble getting mezzanine working with s3boto.s3botoStorage *I'm using:* - Django==1.8.2 - mezzanine==4.0.1 - django-storages-redux==1.3.2 - boto==2.39.0 *My Config:* # STORAGE SETTINGS # DEFAULT_FILE_STORAGE =

[mezzanine-users] Mezzanine look and feel not rendering when Debug=False

2016-03-13 Thread Venkateswararao Thota
Looks like the static contents not loading when Debug=False, Any suggestions? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[mezzanine-users] How to use wildcard solution to display content

2016-03-13 Thread wh4n
Hello guys, I have a problem I don't know how to solve. Mezzanine takes cares of the multi tenancy. But how can I display other content based on subdomain? For example: I have a site called *thomas.example.com* and another site called *andrea.example.com* I want a solution to grab with sort