stephenmuss / django-ios-notifications

Django iOS Notifications makes it easy to send push notifications to iOS devices
Other
230 stars 72 forks source link

django 1.7 issue with ModelForm #63

Closed kalvish21 closed 9 years ago

kalvish21 commented 9 years ago

I'm getting the following warnings after updating to latest version of Django:

/Users/git/ios_notifications/forms.py:10: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form DeviceForm needs updating
class DeviceForm(forms.ModelForm):

/Users/git/ios_notifications/forms.py:15: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form APNServiceForm needs updating
class APNServiceForm(forms.ModelForm):

pydev debugger: process 18452 is connecting

/Users/git/ios_notifications/forms.py:10: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form DeviceForm needs updating
class DeviceForm(forms.ModelForm):

/Users/git/ios_notifications/forms.py:15: RemovedInDjango18Warning: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is deprecated - form APNServiceForm needs updating
class APNServiceForm(forms.ModelForm):

Are there any updates for this i'm not aware of?

stnatic commented 9 years ago

Hi,

This PR should fix the issue: https://github.com/stephenmuss/django-ios-notifications/pull/64

stephenmuss commented 9 years ago

Merged in 13859334e6641f884924daf664a80fb7da992bd1