Comments (8)
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.
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.
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.
Sounds great thanks so much!
from demo-allauth-bootstrap.
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.
Works perfect for me, thanks for the speedy reply.
from demo-allauth-bootstrap.
@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.
yes
from demo-allauth-bootstrap.
Related Issues (17)
- make rebuild error: " LookupError: App 'auth' doesn't have a 'demouser' model." HOT 2
- LookupError: App 'auth' doesn't have a 'demouser' model HOT 3
- Not working in Django==1.8.1 HOT 3
- Whats make configure? Can't run this?? HOT 3
- redirect_uri_mismatch HOT 6
- On python configure.py Error:context must be a dict rather than Context. How render works is changed in Django 1.11 HOT 1
- Running configure.py doesn't work out of the box HOT 3
- no such table: main.socialaccount_socialapp__old HOT 3
- Typos
- make configure syntax error at configure.py line 70 HOT 3
- Running "python configure.py" fails HOT 4
- openid_connect example missing
- makemigrations does not pick up changes to UserProfile model HOT 2
- change syncdb to makemigrations HOT 2
- Error creating super user HOT 2
- Abstract User relation Error on make rebuild HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demo-allauth-bootstrap.