Re: Responsive design

2013-09-28 Thread Jasvir Singh
On Thu, Sep 26, 2013 at 1:48 PM, Jasvir Singh wrote: > Could anyone please tell me, how to make responsive design > in django? Thanks everyone. Please give me links of some responsive website made in django. -- Jasvir Singh Grewal

Re: custom if tag

2013-09-28 Thread Vibhu Rishi
Hi Alagappan, The assignment_tag worked perfectly for me ! Thanks! Vibhu On Tue, Sep 24, 2013 at 1:01 AM, Alagappan wrote: > You can implement has_applied as a filter instead of a template tag. >

Re: Static files configuration

2013-09-28 Thread Jason S
Thanks Tom, I ran the command python manage.py collectstatic and it copied across new static content i've added to [project]/static/ which is my STATIC_ROOT. But still no css for the admin pages. Also thanks, I do have to set those up and figure them out, I've seen a few tuts for them so will

Re: Static files configuration

2013-09-28 Thread Tom Lockhart
On 2013-09-28, at 4:58 PM, Tom Lockhart wrote: > > On 2013-09-28, at 4:21 PM, Jason S wrote: > >> Thanks Tom, >> I had a pretty painful install experience over a few weeks and had sudo'd a >> command I shouldn't have when doing the GAE install. >>

Re: Static files configuration

2013-09-28 Thread Tom Lockhart
On 2013-09-28, at 4:21 PM, Jason S wrote: > Thanks Tom, > I had a pretty painful install experience over a few weeks and had sudo'd a > command I shouldn't have when doing the GAE install. > After that experience i'd thought it'd be a pain to sort it out but i've just >

Re: Static files configuration

2013-09-28 Thread Jason S
Thanks Tom, I had a pretty painful install experience over a few weeks and had sudo'd a command I shouldn't have when doing the GAE install. After that experience i'd thought it'd be a pain to sort it out but i've just chown'd the project directory and the /tmp/dev_appserver.searchindexes

Re: Static files configuration

2013-09-28 Thread Tom Lockhart
On 2013-09-28, at 3:27 PM, Jason S wrote: > I can now access my CSS file and i've confirmed it's location by changing its > name and confirming the dev server can't see it any more.after I change the > file name. > > The directory its finding it is under

Re: Static files configuration

2013-09-28 Thread Jason S
I can now access my CSS file and i've confirmed it's location by changing its name and confirming the dev server can't see it any more.after I change the file name. The directory its finding it is under [project]/templates/static/css Sorry, no idea why its working but I suspect its permissions

Re: Basic query regarding admin CSS

2013-09-28 Thread Jason S
Hi, This is fixed, I think it was as I was missing one of the entries below: 37 MIDDLEWARE_CLASSES = ( 38 # This loads the index definitions, so it has to come first 39 'autoload.middleware.AutoloadMiddleware', 40 41 'django.middleware.common.CommonMiddleware', 42

Static files configuration

2013-09-28 Thread Jason S
Hi, I'm new to django and web development but have set up a project and run through a few python and django tuts. I've gotten stuck importing CSS (and other static content) using the static settings available in the settings.py file and have attempted to resolve the issue by referring to a

Re: new django template

2013-09-28 Thread +Emmanuel
>From the error message, there should be a template named 'name.html' under the folder '/en/contact' which should be under the templates folder. Create a folder 'en' within the templates folder. Then create another folder 'contact' within the 'en' folder. Put your 'name.html' file in the

Cardiff Django users group

2013-09-28 Thread Daniele Procida
I'm starting a user group for Django developers in Cardiff, Wales. Email list: The plan is to hold meetings monthly, probably on a Wednesday evening with occasional events on weekends. I'm trying to get a suitable venue with good

KeyError: Key 'slug' not found in Form

2013-09-28 Thread Roberto López López
Hi, I am trying to translate my model using django-modeltranslation and the SlugField is giving me a lot of trouble. I have successfully registered the fields for translation, as you can see in the db table description: | Table "public.news_news" Column

Basic query regarding admin CSS

2013-09-28 Thread Jason S
Hi, I'm new to development and have just gone from some python and django tuts, on my way to developing my first app. I've created a model and can view it under the /admin page, however the page does not use any of the pretty CSS you see in the tutorials because it can't find the files:

Re: CMS base to start with?

2013-09-28 Thread Stephen McDonald
Hey Anton, Here's good deep-dive into Mezzanine only published 24 hours ago: http://blog.liip.ch/archive/2013/09/27/mezzanine-cms-hackday.html On Saturday, 28 September 2013 02:35:28 UTC+10, Anton Melser wrote: > > Hi, > > I'm pretty new to Django/Python and I'm starting a fairly major project

Re: CMS base to start with?

2013-09-28 Thread Anton Melser
> Hey Anton, > > From my experience if it's a 2 year project you're building don't use a > CMS. Start with a plain Django project and then add apps you need. All > these CMSs will just lock you in and become more of a hinderance then help. > > I also recommend building your own admin before

Re: CMS base to start with?

2013-09-28 Thread Anton Melser
> > > Might be an idea to write a one page business plan. Amazing how quickly > it all becomes clear as soon as the business objectives are nailed down. > After that I would guess only one of those would stand out for you. > > We have a pretty solid business plan, or at least one that the