Django 1.8 ImportError: No module named formtools

2,317 views
Skip to first unread message

Neto

unread,
Mar 11, 2015, 4:33:29 AM3/11/15
to django...@googlegroups.com
I'm trying to use form wizard but when I put 'django.contrib.formtools', in INSTALLED_APPS appear on my terminal 'ImportError: No module named formtools'

Simon Charette

unread,
Mar 11, 2015, 6:12:06 AM3/11/15
to django...@googlegroups.com
Hi Neto,

Here's an excerpt from the Django 1.8 release note:

The formtools contrib app has been moved into a separate package. django.contrib.formtools itself has been removed. The docs provide migration instructions.

The new package is available on Github and on PyPI.

TLDR; pip install django-formtools and replace all your references to django.contrib.formtools to formtools.

Simon

Neto

unread,
Mar 11, 2015, 2:22:51 PM3/11/15
to django...@googlegroups.com
Hi Simon, 

pip install django-formtools doesn't work.

Could not find any downloads that satisfy the requirement django-formtools

Alasdair Nicol

unread,
Mar 11, 2015, 2:56:09 PM3/11/15
to django...@googlegroups.com
On 11/03/15 14:22, Neto wrote:
> Hi Simon,
>
> pip install django-formtools doesn't work.
>
> Could not find any downloads that satisfy the requirement django-formtools
>

It looks like it hasn't been django-formtools hasn't been released on
PyPi yet. There's an issue [1] on the github repository to make a PyPi
release.

Django 1.8 is in beta at the moment, hopefully django-formtools will be
on PyPi by the time Django 1.8 is released. In the meantime, you can
install django-formtools from github with:

pip install git+ssh://g...@github.com/django/django-formtools

Cheers,
Alasdair

[1]: https://github.com/django/django-formtools/issues/5

> Em quarta-feira, 11 de março de 2015 03:12:06 UTC-3, Simon Charette
> escreveu:
>
> Hi Neto,
>
> Here's an excerpt from the Django 1.8 release note
> <https://docs.djangoproject.com/en/dev/releases/1.8/#removal-of-django-contrib-formtools>:
>
> The formtools contrib app has been moved into a separate
> package. *django.contrib.formtools* itself has been removed. The
> docs provide migration instructions
> <https://docs.djangoproject.com/en/dev/ref/contrib/formtools/#formtools-how-to-migrate>.
>
> The new package is available on Github
> <https://github.com/django/django-formtools/> and on PyPI.
>
>
> TLDR; pip install django-formtoolsand replace all your references to
> *django.contrib.formtools* to *formtools*.
>
> Simon
>
> Le mercredi 11 mars 2015 00:33:29 UTC-4, Neto a écrit :
>
> I'm trying to use form wizard but when I put
> 'django.contrib.formtools', in INSTALLED_APPS appear on my
> terminal 'ImportError: No module named formtools'
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4bc1d119-292b-4514-bce3-b2a0e9176e7e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4bc1d119-292b-4514-bce3-b2a0e9176e7e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


--
Alasdair Nicol
Developer, MEMSET

mail: alas...@memset.com
web: http://www.memset.com/

Memset Ltd., registration number 4504980.
Building 87, Dunsfold Park, Stovolds Hill, Cranleigh, Surrey, GU6 8TB, UK
Reply all
Reply to author
Forward
0 new messages