File tree Expand file tree Collapse file tree 5 files changed +35
-4
lines changed
junction/tickets/migrations Expand file tree Collapse file tree 5 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 1212 - $HOME/.pip-cache/
1313
1414install :
15- - pip install pip==8.1.2
15+ - pip install pip==9.0.1
1616 - pip install -r requirements-dev.txt --allow-all-external
1717 - pip install coveralls
1818
Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ from __future__ import unicode_literals
3+
4+ from django .db import migrations , models
5+
6+
7+ class Migration (migrations .Migration ):
8+
9+ dependencies = [
10+ ('tickets' , '0001_initial' ),
11+ ]
12+
13+ operations = [
14+ migrations .AlterField (
15+ model_name = 'ticket' ,
16+ name = 'email' ,
17+ field = models .EmailField (max_length = 254 ),
18+ )
19+ ]
Original file line number Diff line number Diff line change 33# Testing
44# -------------------------------------------------
55mock == 2.0.0
6- factory_boy == 2.7.0
6+ # Fix for travis CI tests failing
7+ # Ref: https://github.com/FactoryBoy/factory_boy/issues/334#issuecomment-267696136
8+ fake-factory == 0.7.4
9+ factory-boy == 2.7.0
10+
711flake8 == 2.4.1
812pytest-django == 2.9.1
913pytest-cov == 2.2.1
@@ -19,3 +23,7 @@ bumpversion==0.5.3
1923# Debugging
2024# --------------------------------------------------
2125ipdb == 0.9.0
26+
27+ # Patch for html5lib - issue #520
28+ html5lib < 0.99999999
29+ bleach < 2.0.0
Original file line number Diff line number Diff line change 6767 'allauth.socialaccount' ,
6868 'allauth.socialaccount.providers.google' ,
6969 'allauth.socialaccount.providers.github' ,
70+ 'allauth.socialaccount.providers.twitter' ,
71+ 'allauth.socialaccount.providers.linkedin' ,
72+ 'allauth.socialaccount.providers.facebook' ,
7073
7174 'bootstrap3' ,
7275
114117 # Needed to login by username in Django admin, regardless of `allauth`
115118 "django.contrib.auth.backends.ModelBackend" ,
116119 # `allauth` specific authentication methods, such as login by e-mail
117- "allauth.account.auth_backends.AuthenticationBackend"
120+ "allauth.account.auth_backends.AuthenticationBackend" ,
118121)
119122
120123ACCOUNT_AUTHENTICATION_METHOD = "username_email"
Original file line number Diff line number Diff line change 22
33# Standard Library
44import datetime
5+ from datetime import timedelta
56import uuid
67
78# Third Party Stuff
@@ -138,7 +139,7 @@ class Meta:
138139 strategy = factory .CREATE_STRATEGY
139140
140141 event_date = fuzzy .FuzzyDate (datetime .date .today (),
141- datetime .date ( 2017 , 1 , 1 )).fuzz ()
142+ datetime .date . today () + timedelta ( days = 90 )).fuzz ()
142143 start_time = fuzzy .FuzzyChoice (['9:30.750000' , ]).fuzz ()
143144 end_time = fuzzy .FuzzyChoice (['10:15.750000' , ]).fuzz ()
144145 conference = factory .SubFactory ("tests.factories.ConferenceFactory" )
You can’t perform that action at this time.
0 commit comments