Re: [mezzanine-users] How to install and run Mezzanine v0.12.3

133 views
Skip to first unread message

Stephen McDonald

unread,
Jun 24, 2012, 12:47:34 AM6/24/12
to mezzani...@googlegroups.com
This works fine for me.

I then upgraded Django to 1.4 in the virtualenv and get the same error as you do, so double-check your Django version. I don't think Django 1.4 even existed when Mezzanine 0.12.3 was out.

On Sun, Jun 24, 2012 at 12:44 PM, Jamie Czuy <unit...@gmail.com> wrote:
I know you have already moved on to v1.1.2 and I went through the Quick Start and v1.1.2 installs and runs as advertised. 

BUT I need to work on an exisiting project that uses v0.12.3 and I cannot get it to run; after the install when when I go to the url I get this message:  'ContextAwareExtendsNode' object has no attribute 'parent_name_expr'. Does anyone know what I need to do to get v0.12.3 to work (show the Mezzanine Home Page)?

Thanks,
Jamie

These are the steps I followed.
I am trying this on a MacBook Pro Running Lion (Mac OS X v10.7.4) and Python 2.7 (built with GCC 4.2.1).
  1. Make a new virtual environment:
    mkvirtualenv --no-site-packages --distribute mymezz-001
  2. Update pip to latest version:
    pip install -U pip
  3. Create a requirements.pip file containing Mezzanine==0.12.3:
    vi requirements.pip
    Mezzanine==0.12.3
  4. Install Mezzanine:
    pip install -r requirements.pip
    NOTE: Besides Mezzanine, django 1.1 is also installed!
  5. Create a Mezzanine project:
    
    mezzanine-project mymezz
    cd mymezz
  6. Create a datatbase:
    python manage.py createdb
      Answer "yes" to create superuser now
      Username: < hit enter to use default >
      Enter an E-mail address.
      Enter Password: ************
      Enter Password again: ************
      Answer "yes" to install some initial content
  7. Run the server:
    
    python manage.py runserver
    NOTE: Notice the address and port (http://127.0.0.1:8000/)
  8. Check it out in a browser:
    
    Browse to address noted above: http://127.0.0.1:8000

    Notice Error Message: 'ContextAwareExtendsNode' object has no attribute 'parent_name_expr'




--
Stephen McDonald
http://jupo.org

Jamie Czuy

unread,
Jun 30, 2012, 11:55:07 AM6/30/12
to mezzani...@googlegroups.com
That was it - I added Django==1.3 to requirements.pip and everything worked.

Thank You,
Jamie
Reply all
Reply to author
Forward
0 new messages