jenkins.sh: allow external dependency links
This commit is contained in:
parent
8772f772f9
commit
5b8ef39e45
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -e
|
||||
pip install --upgrade pip
|
||||
pip install --upgrade pylint
|
||||
pip install --upgrade -v -r requirements.txt
|
||||
pip install --upgrade --allow-external -v -r requirements.txt
|
||||
echo Nothing to test for now
|
||||
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc portail_citoyen/ | tee pylint.out) || /bin/true
|
||||
|
|
|
@ -2,6 +2,7 @@ from django import forms
|
|||
|
||||
from django.contrib.auth.forms import UserChangeForm as AuthUserChangeForm, UserCreationForm as AuthUserCreationForm
|
||||
from django.contrib.auth import get_user_model
|
||||
from authentic2.forms import UserProfileForm
|
||||
|
||||
class UserChangeForm(AuthUserChangeForm):
|
||||
class Meta(AuthUserChangeForm.Meta):
|
||||
|
|
|
@ -63,3 +63,14 @@ class Role(Group):
|
|||
verbose_name_plural = _('roles')
|
||||
|
||||
import permission_hack
|
||||
|
||||
|
||||
# CMS plugins
|
||||
|
||||
|
||||
from cms.models import CMSPlugin
|
||||
|
||||
|
||||
class EditProfilePlugin(CMSPlugin):
|
||||
def __repr__(self):
|
||||
return '<EditProfilePlugin>'
|
||||
|
|
Reference in New Issue