Giter Site home page Giter Site logo

Comments (8)

aellerton avatar aellerton commented on July 17, 2024

Hi Brad,
That's a strange one. Did it render the fields in that order out of the
box, or were there any changes you made locally at all?
A

On 17 Aug 2016 9:58 AM, "Brad Jimenez" [email protected] wrote:

I have really enjoyed this template, but i'm having some issues with the
view on the Login page. I'm very new to python and Django, so i'm a little
confused as to how I could fix this. I traced the url back into the allauth
directory inside the virtual environment and found where the login field
order was referenced, but changing this had no effect at all. I've never
tried to change anything close to this file location so i'm not sure what I
would do exactly. The good news is that it still works perfectly!

I am on Linux Ubuntu 14.04 using
Django==1.8.1
django-allauth==0.22.0
django-bootstrap3==7.0.1

[image: djangologin]
https://cloud.githubusercontent.com/assets/17770993/17721861/14e34330-63f3-11e6-8b61-4a81c1a51bba.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#16, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7Eoo0KD7AkJrnTYIyVL484_0CQxOv8ks5qgmq7gaJpZM4JmBUl
.

from demo-allauth-bootstrap.

CadBrad avatar CadBrad commented on July 17, 2024

This is how it came out of the box.

The other thing is that the Signup page looks perfect, with email, password, and password again.

from demo-allauth-bootstrap.

aellerton avatar aellerton commented on July 17, 2024

Thanks.

Could be that allauth has had various releases since I last updated the
code.

I'll try to get time to pull the latest and see if that affects it...

On 17 Aug 2016 10:08 AM, "Brad Jimenez" [email protected] wrote:

This is how it came out of the box.

The other thing is that the Signup page looks perfect, with email,
password, and password again.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7EonESjAxHua96TFebChditjUJ4DBnks5qgm0lgaJpZM4JmBUl
.

from demo-allauth-bootstrap.

CadBrad avatar CadBrad commented on July 17, 2024

Sounds great thanks so much!

from demo-allauth-bootstrap.

 avatar commented on July 17, 2024

Fixed:

in allauth/utils.py:

Replace the following function w/ what's below:

def set_form_field_order(form, fields_order):
    import collections
    if isinstance(form.fields, SortedDict):
        form.fields = collections.OrderedDict((f, form.fields[f])
                                  for f in fields_order)
    else:
        # Python 2.7+
        from collections import OrderedDict
        assert isinstance(form.fields, OrderedDict)
        form.fields = collections.OrderedDict((f, form.fields[f])
                                  for f in fields_order)

from demo-allauth-bootstrap.

CadBrad avatar CadBrad commented on July 17, 2024

Works perfect for me, thanks for the speedy reply.

from demo-allauth-bootstrap.

aellerton avatar aellerton commented on July 17, 2024

@chabura do you mean you needed to modify the allauth source itself?

On 18 August 2016 at 03:06, Brad Jimenez [email protected] wrote:

Works perfect for me, thanks for the speedy reply.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#16 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7EoucE3fTjQ19ObpBpYsJ7asxA0hoaks5qg1vTgaJpZM4JmBUl
.

from demo-allauth-bootstrap.

 avatar commented on July 17, 2024

yes

from demo-allauth-bootstrap.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.