Re: [mezzanine-users] Re: NameError

2016-02-21 Thread George M
Hehehe, importing mezzanine works perfect. Thanks Ed. An you're right, am just starting off. Will read. On Monday, February 22, 2016 at 6:01:16 AM UTC+3, Eduardo Rivas wrote: > > Yeah, but you haven't imported the top level mezzanine module. You can > see that it is being referenced by the

Re: [mezzanine-users] Re: NameError

2016-02-21 Thread Eduardo Rivas
Yeah, but you haven't imported the top level mezzanine module. You can see that it is being referenced by the urlpattern in line 56. Add "import mezzanine" to the top of the file. I recommend you read a bit on Python imports, looks you haven't got the hang of them just yet. -- You received

[mezzanine-users] Re: NameError

2016-02-21 Thread George M
Hi Ed, Thanks for the reply. This is the traceback - /usr/lib/python2.7/importlib/__init__.py in import_module 1. __import__(name) ... ▶ Local vars -

Re: [mezzanine-users] NameError

2016-02-21 Thread Eduardo Rivas
Looks like mezzanine (or a module inside of it) is not in scope. The trace back should tell you where. Make sure you're following the commented instructions correctly. You might need to add some imports to urls.py. -- You received this message because you are subscribed to the Google Groups

[mezzanine-users] NameError

2016-02-21 Thread George M
I keep getting this error everytime I change urls from index.html to mezzanine searching for a homepage. On both the site and the admin. Request URL: http://localhost:8000/admin/logout/ Django Version: 1.8.7 Exception Type: NameError Exception Value: name 'mezzanine' is not defined Anyone