Skip to content

Commit

Permalink
Another bug.... changes implies bugs. :P
Browse files Browse the repository at this point in the history
git-svn-id: https://django-profile.googlecode.com/svn/trunk@380 7b2eb738-463f-0410-8820-43b14e3dcc91
  • Loading branch information
david.rubert committed Dec 8, 2008
1 parent efa97f1 commit d1e5c9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions userprofile/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ProfileForm(forms.ModelForm):
"""
class Meta:
model = Profile
exclude = ('date', 'location', 'latitude', 'longitude', 'country',
exclude = ('creation_date', 'location', 'latitude', 'longitude', 'country',
'user', 'public', 'site')

class PublicFieldsForm(forms.ModelForm):
Expand All @@ -41,7 +41,7 @@ class PublicFieldsForm(forms.ModelForm):
"""
class Meta:
model = Profile
exclude = ('date', 'user', 'public')
exclude = ('creation_date', 'user', 'public')

class AvatarForm(forms.Form):
"""
Expand Down
2 changes: 1 addition & 1 deletion userprofile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
raise GoogleDataAPINotFound

def get_profiles():
return Profile.objects.order_by("-date")
return Profile.objects.order_by("-creation_date")

def fetch_geodata(request, lat, lng):
if request.META.get('HTTP_X_REQUESTED_WITH') == 'XMLHttpRequest':
Expand Down

0 comments on commit d1e5c9f

Please sign in to comment.