Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting started - error with createdb
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Doug Evenhouse  
View profile  
 More options Aug 14 2012, 4:38 pm
From: Doug Evenhouse <d...@evenhouseconsulting.com>
Date: Tue, 14 Aug 2012 13:38:36 -0700 (PDT)
Local: Tues, Aug 14 2012 4:38 pm
Subject: Getting started - error with createdb

I'm just getting started with Mezzanine - hoping to replace my home-grown
CMS (also built with Django) - and am having trouble out of the gate.

I've created a new virtualenv for Mezzanine and followed the quick steps as
given on the Mezzanine home page. However, when I attempt to create the
database an "Unknown command" error is thrown:
Unknown command: 'createdb'

I've not done anything to configure a database assuming a sqlite database
would be created by default.

Have I assumed too much? What am I missing?

-Doug


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Schott  
View profile  
 More options Aug 14 2012, 4:55 pm
From: Brian Schott <brian.sch...@nimbisservices.com>
Date: Tue, 14 Aug 2012 16:55:22 -0400
Local: Tues, Aug 14 2012 4:55 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

Are you doing the tutorial site or trying to integrate into your existing site?  That command is in mezzanine.core.management.commands, so are you sure that mezzanine.core is in INSTALLED_APPS?

-------------------------------------------------
Brian Schott, CTO
Nimbis Services, Inc.
brian.sch...@nimbisservices.com
ph: 443-274-6064  fx: 443-274-6060

On Aug 14, 2012, at 4:38 PM, Doug Evenhouse <d...@evenhouseconsulting.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Evenhouse  
View profile  
 More options Aug 14 2012, 5:07 pm
From: Doug Evenhouse <d...@evenhouseconsulting.com>
Date: Tue, 14 Aug 2012 14:07:08 -0700 (PDT)
Local: Tues, Aug 14 2012 5:07 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

I'm just following the "quick start" instructions on the Mezzanine home
page. The default settings.py of the project created by "mezzanine-project
myproject" appears to have mezzanine.core in INSTALLED_APPS.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen McDonald  
View profile  
 More options Aug 14 2012, 5:09 pm
From: Stephen McDonald <st...@jupo.org>
Date: Wed, 15 Aug 2012 07:09:41 +1000
Local: Tues, Aug 14 2012 5:09 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

The error indicates Django can't find the management command.

Are you able to import it from the Django shell?

$ ./manage.py shell
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

>>> from mezzanine.core.management.commands.createdb import Command

On Wed, Aug 15, 2012 at 7:07 AM, Doug Evenhouse <

--
Stephen McDonald
http://jupo.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Evenhouse  
View profile  
 More options Aug 14 2012, 5:17 pm
From: Doug Evenhouse <d...@evenhouseconsulting.com>
Date: Tue, 14 Aug 2012 14:17:03 -0700 (PDT)
Local: Tues, Aug 14 2012 5:17 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

Perhaps a big clue: when I attempt to run the Django shell I get this error:

Error: Could not import settings 'settings.development' (Is it on
sys.path?): No module named development


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen McDonald  
View profile  
 More options Aug 14 2012, 5:23 pm
From: Stephen McDonald <st...@jupo.org>
Date: Wed, 15 Aug 2012 07:23:39 +1000
Local: Tues, Aug 14 2012 5:23 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

Ring any bells to you? Sounds like something you've configured previously,
intentionally or otherwise.

On Wed, Aug 15, 2012 at 7:17 AM, Doug Evenhouse <

--
Stephen McDonald
http://jupo.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Evenhouse  
View profile  
 More options Aug 14 2012, 5:38 pm
From: Doug Evenhouse <d...@evenhouseconsulting.com>
Date: Tue, 14 Aug 2012 14:38:52 -0700 (PDT)
Local: Tues, Aug 14 2012 5:38 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

I'm digging. On another project, in a separate virtualenv, I've got a
settings module that partitions settings based on environment (development,
staging, production) - this module seems to be leaking into my Mezzanine
virtual environment somehow. I'll track this down. Looks like an
environment issue on my end. Thanks for the help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Evenhouse  
View profile  
 More options Aug 14 2012, 8:30 pm
From: Doug Evenhouse <d...@evenhouseconsulting.com>
Date: Tue, 14 Aug 2012 17:30:25 -0700 (PDT)
Local: Tues, Aug 14 2012 8:30 pm
Subject: Re: [mezzanine-users] Getting started - error with createdb

For what it's worth: I removed an old version of homebrew on my Mac,
reinstalled an up-to-date version of homebrew and installed all new and
updated python, virtualenv, etc and now the "quick start" instructions
worked without a hitch. Looking forward to using Mezzanine.
-Doug


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »