Wednesday, March 11, 2015

Re: Django 1.8 ImportError: No module named formtools

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://git@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+unsubscribe@googlegroups.com
> <mailto:django-users+unsubscribe@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@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: alasdair@memset.com
web: http://www.memset.com/

Memset Ltd., registration number 4504980.
Building 87, Dunsfold Park, Stovolds Hill, Cranleigh, Surrey, GU6 8TB, UK

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/55005756.50306%40memset.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment