Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Contrib markup app not to be installed? [RSS Feed]

#1 Dec. 3, 2005 11:13:31

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


While setting up a new project tonight, I was running through and
doing a 'django-admin.py install' for each of the apps from
django.contrib I'll be using, and when I got to the markup app, I got
the following error:

Error: No module named markup. Are you sure your INSTALLED_APPS
setting is correct?

I've got 'django.contrib.markup' in INSTALLED_APPS, and the markup app
certainly seems to be a Python module. Is it not meant to be installed
with 'django-admin.py' (since I recall Jacob saying that all you need
is to have it in INSTALLED_APPS and then do 'load markup' in your
template)?


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#2 Dec. 3, 2005 11:31:16

Robert W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


James Bennett wrote:
> While setting up a new project tonight, I was running through and
> doing a 'django-admin.py install' for each of the apps from
> django.contrib I'll be using, and when I got to the markup app, I got
> the following error:
>
> Error: No module named markup. Are you sure your INSTALLED_APPS
> setting is correct?
>
> I've got 'django.contrib.markup' in INSTALLED_APPS, and the markup app
> certainly seems to be a Python module. Is it not meant to be installed
> with 'django-admin.py' (since I recall Jacob saying that all you need
> is to have it in INSTALLED_APPS and then do 'load markup' in your
> template)?
>
>
> --
> "May the forces of evil become confused on the way to your house."
> -- George Carlin
>

The install is for installing a model-module, not an app. As the markup
app has no model modules, and there is no model module named markup,
this is not going to work.

Offline

#3 Dec. 3, 2005 11:38:28

James B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


On 12/3/05, Robert Wittams <> wrote:
> The install is for installing a model-module, not an app. As the markup
> app has no model modules, and there is no model module named markup,
> this is not going to work.

OK, I'd figured as much from a little further poking around, but just
wanted to be sure that's how it's supposed to be. Thanks for the quick
reply.


--
"May the forces of evil become confused on the way to your house."
-- George Carlin

Offline

#4 Dec. 3, 2005 12:43:29

Jacob K.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


On Dec 3, 2005, at 5:13 AM, James Bennett wrote:While setting up a new project tonight, I was running through and
doing a 'django-admin.py install' for each of the apps from
django.contrib I'll be using, and when I got to the markup app, I got
the following error:

Error: No module named markup. Are you sure your INSTALLED_APPS
setting is correct?

I've got 'django.contrib.markup' in INSTALLED_APPS, and the markup app
certainly seems to be a Python module. Is it not meant to be installed
with 'django-admin.py' (since I recall Jacob saying that all you need
is to have it in INSTALLED_APPS and then do 'load markup' in your
template)?Yeah, it doesn't get installed -- the markup app has no models, justthe custom template tag.Jacob

Offline

#5 Dec. 3, 2005 21:05:02

Ian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


shouldn't a warning/informational message be generated in this case.
something like

$ django-admin install markup
INFO: no models found to install.. skipping markup

?

On 12/3/05, Jacob Kaplan-Moss <> wrote:
>
> On Dec 3, 2005, at 5:13 AM, James Bennett wrote:
> > While setting up a new project tonight, I was running through and
> > doing a 'django-admin.py install' for each of the apps from
> > django.contrib I'll be using, and when I got to the markup app, I got
> > the following error:
> >
> > Error: No module named markup. Are you sure your INSTALLED_APPS
> > setting is correct?
> >
> > I've got 'django.contrib.markup' in INSTALLED_APPS, and the markup app
> > certainly seems to be a Python module. Is it not meant to be installed
> > with 'django-admin.py' (since I recall Jacob saying that all you need
> > is to have it in INSTALLED_APPS and then do 'load markup' in your
> > template)?
>
> Yeah, it doesn't get installed -- the markup app has no models, just
> the custom template tag.
>
> Jacob
>


--
-- blog:http://feh.holsman.net/-- PH: ++61-3-9877-0909

If everything seems under control, you're not going fast enough. -
Mario Andretti

Offline

#6 Dec. 3, 2005 21:12:31

Robert W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Contrib markup app not to be installed?


Ian Holsman wrote:
> shouldn't a warning/informational message be generated in this case.
> something like
>
> $ django-admin install markup
> INFO: no models found to install.. skipping markup
>
> ?

Given that the command acts on a model module, *not* on an app, this
wouldn't work. It will instead say 'No module named markup', which is
accurate. You have probably been using a model files named the same as
your apps, so didn't notice this.

We did look at making it work on an app and it might change to that in
future.

Offline

  • Root
  • » Django
  • » Contrib markup app not to be installed? [RSS Feed]

Board footer

Moderator control

Enjoy the 23rd of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support