My favorites | Sign in
Google
       
Details: Show all Hide all

Earlier this year

  • Aug 11, 2009
    Starred project pytyrant
  • Jul 25, 2009
    Starred project htxpath
  • Jul 21, 2009
    Starred project python-twitter
  • Jul 06, 2009
    Starred project wikimarkup
  • Jul 02, 2009
    Starred project django-voting
  • Jun 26, 2009
    issue 60 (Profile doesn't delete) commented on   -   did you try to create your own signals.py file, and import it at the end of your urls.py ? it works for me !
    did you try to create your own signals.py file, and import it at the end of your urls.py ? it works for me !
  • Jun 24, 2009
    issue 60 (Profile doesn't delete) commented on   -   Just to be sure : is AUTH_PROFILE_MODULE correctly defined in your settings.py ?
    Just to be sure : is AUTH_PROFILE_MODULE correctly defined in your settings.py ?
  • Jun 24, 2009
    issue 60 (Profile doesn't delete) commented on   -   I have no models.py but each model in its own file, so i tried to put it in models/__init__.py, but it doesn't work (same kind of error as you have), so, urls.py is, for me, the place where i am "sure that the module it's in gets imported early on so that the signal handling gets registered before any signals need to be sent." PS : did you put the code at the bottom of your models.py file ?
    I have no models.py but each model in its own file, so i tried to put it in models/__init__.py, but it doesn't work (same kind of error as you have), so, urls.py is, for me, the place where i am "sure that the module it's in gets imported early on so that the signal handling gets registered before any signals need to be sent." PS : did you put the code at the bottom of your models.py file ?
  • Jun 23, 2009
    issue 60 (Profile doesn't delete) commented on   -   <<return signals.last_response(signal_responses) or HttpResponseRedirect(reverse("profile_overview"))>> It works like this : if the signal is checked and send a response, this one is used, OR (ie if no response), the HttpResponseRedirect is used So if your function doesn't return an http response, the user is redirected to it's profile page, but if you want to delete the user itself, you should redirect it on your home page for example. Here a example : from userprofile.signals import post_signal from userprofile import views as userprofile_views post_signal.connect(my_delete_signal, sender=userprofile_views.delete) def my_delete_signal(sender, **kwargs): request = kwargs['request'] user = request.user user.delete() return HttpResponseRedirect(reverse('index')) (to be sure to connect to signals, i put connections in a file "signals.py" imported at the end of my urls.py, my waym not the best i guess. And the function is with my views)
    <<return signals.last_response(signal_responses) or HttpResponseRedirect(reverse("profile_overview"))>> It works like this : if the signal is checked and send a response, this one is used, OR (ie if no response), the HttpResponseRedirect is used So if your function doesn't return an http response, the user is redirected to it's profile page, but if you want to delete the user itself, you should redirect it on your home page for example. Here a example : from userprofile.signals import post_signal from userprofile import views as userprofile_views post_signal.connect(my_delete_signal, sender=userprofile_views.delete) def my_delete_signal(sender, **kwargs): request = kwargs['request'] user = request.user user.delete() return HttpResponseRedirect(reverse('index')) (to be sure to connect to signals, i put connections in a file "signals.py" imported at the end of my urls.py, my waym not the best i guess. And the function is with my views)
  • Jun 23, 2009
    issue 60 (Profile doesn't delete) commented on   -   In this case it would be DELETE_USER and not DELETE_PROFILE (because the profile is deleted !) We'll think about it, but until then you can do it yourself via the signal
    In this case it would be DELETE_USER and not DELETE_PROFILE (because the profile is deleted !) We'll think about it, but until then you can do it yourself via the signal
  • Jun 23, 2009
    issue 60 (Profile doesn't delete) Status changed   -   You can use the signal provided by the view to delete the user and redirect on a page of your choice
    Status: WontFix
    You can use the signal provided by the view to delete the user and redirect on a page of your choice
    Status: WontFix
  • Jun 23, 2009
    issue 60 (Profile doesn't delete) commented on   -   Actually it's how the delete view works : return to the overview page, but informations (profile (with location), avatar, emails) are really deleted, but not the user (which is just cleared) I's not a way to delete the user, just a way to delete the profile. You should see a message while getting back to the overview page : "Your profile information has been removed successfully."
    Actually it's how the delete view works : return to the overview page, but informations (profile (with location), avatar, emails) are really deleted, but not the user (which is just cleared) I's not a way to delete the user, just a way to delete the profile. You should see a message while getting back to the overview page : "Your profile information has been removed successfully."
  • Jun 17, 2009
    issue 59 (Delete account does not work) changed   -   thanks corrected in r418
    Status: Fixed
    Owner: stephane.angel
    thanks corrected in r418
    Status: Fixed
    Owner: stephane.angel
  • Jun 17, 2009
    r418 (correct bug in post_signal for "delete" view) committed   -   correct bug in post_signal for "delete" view
    correct bug in post_signal for "delete" view
  • Jun 16, 2009
    r417 (added extra "old_profile" parameter to "personnal" signal "p...) committed   -   added extra "old_profile" parameter to "personnal" signal "post_signal"
    added extra "old_profile" parameter to "personnal" signal "post_signal"
  • Jun 15, 2009
    r416 (other bad msgid for some locales) committed   -   other bad msgid for some locales
    other bad msgid for some locales
  • Jun 15, 2009
    r415 (added signal "post_signal" for "personal" view) committed   -   added signal "post_signal" for "personal" view
    added signal "post_signal" for "personal" view
  • Jun 15, 2009
    r414 (bad msgid for a string for some locales) committed   -   bad msgid for a string for some locales
    bad msgid for a string for some locales
  • Jun 11, 2009
    Starred project pylevenshtein
  • May 27, 2009
    Starred project django-newrpx
  • May 21, 2009
    r412 (update css classes for 960gs (all block must be included in ...) committed   -   update css classes for 960gs (all block must be included in a grid_12 or grid_16)
    update css classes for 960gs (all block must be included in a grid_12 or grid_16)
  • May 21, 2009
    Starred project django-orm-cache
  • May 20, 2009
    r411 (invalid name for google_maps_api_key) committed   -   invalid name for google_maps_api_key
    invalid name for google_maps_api_key
  • May 12, 2009
    issue 57 (template files not included in sdist/install) commented on   -   I reported this here : http://code.google.com/p/django-profile/issues/detail?id=47&can=1&q=angel#c3 with a patch for setup.py
    I reported this here : http://code.google.com/p/django-profile/issues/detail?id=47&can=1&q=angel#c3 with a patch for setup.py
  • Apr 27, 2009
    r406 (update of commit r405: correct a bug if a signal has multipl...) committed   -   update of commit r405: correct a bug if a signal has multiple receivers and not the last one return a value
    update of commit r405: correct a bug if a signal has multiple receivers and not the last one return a value
  • Apr 27, 2009
    r405 (added signals after user input to work with data and optionn...) committed   -   added signals after user input to work with data and optionnaly return a new http response object (all explained in INSTALL.txt, with a full example) + some stuff (remove debug, add missing import, remove unused code)
    added signals after user input to work with data and optionnaly return a new http response object (all explained in INSTALL.txt, with a full example) + some stuff (remove debug, add missing import, remove unused code)
  • Apr 23, 2009
    r404 (added signals to add context variables in case of redefining...) committed   -   added signals to add context variables in case of redefining templates
    added signals to add context variables in case of redefining templates
  • Apr 22, 2009
    issue 53 (googlemaps is undefined) Status changed   -  
    Status: WontFix
    Status: WontFix
  • Apr 21, 2009
    r403 (preview croped image (js is in a new file)) committed   -   preview croped image (js is in a new file)
    preview croped image (js is in a new file)
  • Apr 21, 2009
    r402 (new version of imgareaselect and jquery, and add corner for ...) committed   -   new version of imgareaselect and jquery, and add corner for resize handles
    new version of imgareaselect and jquery, and add corner for resize handles
  • Apr 10, 2009
    r394 (update login french translations) committed   -   update login french translations
    update login french translations
  • Apr 10, 2009
    r393 (For location : - clear indentation in jquery.location.js -...) committed   -   For location : - clear indentation in jquery.location.js - remove the hardcoded fetch_geodata url in jquery.location.js - update name 'apikey' to 'google_maps_apikey' if template - put fet_geodata url and google_maps_apikey into hidden input (rather than in hidden divs) Other : - access to signup url via name rather than via view's path
    For location : - clear indentation in jquery.location.js - remove the hardcoded fetch_geodata url in jquery.location.js - update name 'apikey' to 'google_maps_apikey' if template - put fet_geodata url and google_maps_apikey into hidden input (rather than in hidden divs) Other : - access to signup url via name rather than via view's path
  • Apr 09, 2009
    issue 53 (googlemaps is undefined) commented on   -   Did you think to include the stylesheet ? (media/userprofile/css/django-profile.css) (explained in the last version of INSTALL.txt)
    Did you think to include the stylesheet ? (media/userprofile/css/django-profile.css) (explained in the last version of INSTALL.txt)
  • Apr 09, 2009
    r392 (sort countries by name (translated names)) committed   -   sort countries by name (translated names)
    sort countries by name (translated names)
  • Apr 09, 2009
    issue 53 (googlemaps is undefined) commented on   -   Did you think to include the stylesheet ? (media/userprofile/cssdjango-profile.css)
    Did you think to include the stylesheet ? (media/userprofile/cssdjango-profile.css)
  • Apr 08, 2009
    issue 47 (Template location setting) commented on   -   david, did you see my proposed patch for including templates in the package ? Perhaps just adding "userprofile.templates" made the job but...
    david, did you see my proposed patch for including templates in the package ? Perhaps just adding "userprofile.templates" made the job but...
  • Apr 08, 2009
    issue 53 (googlemaps is undefined) commented on   -   What browser do you use ?
    What browser do you use ?
  • Apr 08, 2009
    issue 50 (French translations (django.po provided)) changed   -   Commited in r388
    Status: Fixed
    Labels: Type-Enhancement Priority-Low Type-Defect Priority-Medium
    Commited in r388
    Status: Fixed
    Labels: Type-Enhancement Priority-Low Type-Defect Priority-Medium
  • Apr 08, 2009
    issue 51 (Patch for working fine without blueprint) changed   -   I've commited my work in rev 391, after renaming "css_framework" and "css_frm" by "css_classes" In rev 390 i've added a new css file "django-profile-basics.css" for classes defined in blueprint that must be redefined if another framework or set of classes is used (error, quiet, success...)
    Status: Fixed
    Labels: Type-Enhancement Priority-Low Type-Defect Priority-Medium
    I've commited my work in rev 391, after renaming "css_framework" and "css_frm" by "css_classes" In rev 390 i've added a new css file "django-profile-basics.css" for classes defined in blueprint that must be redefined if another framework or set of classes is used (error, quiet, success...)
    Status: Fixed
    Labels: Type-Enhancement Priority-Low Type-Defect Priority-Medium
  • Apr 08, 2009
    r391 (- Provide a way of using another css framework than blueprin...) committed   -   - Provide a way of using another css framework than blueprint css, via a setting and a template context processor - explain it in INSTALL.txt - add in INSTALL.txt documentation for css and js files to include - small error in french translation
    - Provide a way of using another css framework than blueprint css, via a setting and a template context processor - explain it in INSTALL.txt - add in INSTALL.txt documentation for css and js files to include - small error in french translation
  • Apr 08, 2009
    r390 (add some basic css classes blueprint is not used (error, not...) committed   -   add some basic css classes blueprint is not used (error, notice, success, hide...)
    add some basic css classes blueprint is not used (error, notice, success, hide...)
  • Apr 07, 2009
    issue 52 (Resolving problems with avatar croping) reported   -   As i said i issue 49, i've done a patch for resolving 3 problems with croping : 1) your commit 387 has an issue when i crop a from the left 2) in my firefox the javascript give me corrdinates that are floats and not ints 3) and wht if the user doesn't want at all crop it's image You can find my patch attached, which resolves these three things (two files : forms and views) A summary : for 1 : use "is None" instead of "not" for 2 : create a new field type "AvatarCoordinateField" with convert the values from string/float to int for 3 : passe the image to the form and if no coordinate at all, use full image size
    As i said i issue 49, i've done a patch for resolving 3 problems with croping : 1) your commit 387 has an issue when i crop a from the left 2) in my firefox the javascript give me corrdinates that are floats and not ints 3) and wht if the user doesn't want at all crop it's image You can find my patch attached, which resolves these three things (two files : forms and views) A summary : for 1 : use "is None" instead of "not" for 2 : create a new field type "AvatarCoordinateField" with convert the values from string/float to int for 3 : passe the image to the form and if no coordinate at all, use full image size
  • Apr 07, 2009
    issue 49 (TypeError at /accounts/profile/edit/avatar/crop/ in Firefox ...) commented on   -   I'll make a new issue for my patch
    I'll make a new issue for my patch
  • Apr 07, 2009
    issue 49 (TypeError at /accounts/profile/edit/avatar/crop/ in Firefox ...) commented on   -   Your release 387 is wrong because if i crop the avatar at the left of the image, self.cleaned_data.get('left') will be 0 and then an error will be reported I'm working an a patch to resolv my previous problem, this one, and to allow to not crop the image
    Your release 387 is wrong because if i crop the avatar at the left of the image, self.cleaned_data.get('left') will be 0 and then an error will be reported I'm working an a patch to resolv my previous problem, this one, and to allow to not crop the image
  • Apr 07, 2009
    issue 49 (TypeError at /accounts/profile/edit/avatar/crop/ in Firefox ...) commented on   -   Posted values : bottom:86.70001220703125 left:29.79998779296875 right:97.79998779296875 top:18.70001220703125 Not int...
    Posted values : bottom:86.70001220703125 left:29.79998779296875 right:97.79998779296875 top:18.70001220703125 Not int...
  • Apr 07, 2009
    issue 49 (TypeError at /accounts/profile/edit/avatar/crop/ in Firefox ...) commented on   -   For me i now have this error (i had no errors before your last commit) : "Enter a whole number" when i try to crop the image... :(
    For me i now have this error (i had no errors before your last commit) : "Enter a whole number" when i try to crop the image... :(
  • Apr 07, 2009
    issue 51 (Patch for working fine without blueprint) reported   -   As i said on the mailing-list (https://groups.google.com/group/django-profile/browse_thread/thread/9b1545447b2825e8), i've done some work for using another css framework instead of blueprint, or whatever css classes you want. I've done this by using a context processor, which check a settings variable for choosing a dict to use in templates (do not forget to declare the processor in your settings too !) User can set either a string, to refer to one of the defined dicts, or a dict to set it's own classes. Here the dict for blueprint (the default one) : ----------- # for "blueprint css", all width 'blueprint': { 'content_main_2col': 'span-13 prepend-1 colborder', 'content_related': 'span-8 last', 'content_main': 'span-22 prepend-1 append-1', 'nav': 'span-24 last', 'public_vcard_content': 'span-10', 'public_vcard_map': 'span-10', 'overview_avatar': 'span-3', 'overview_details': 'span-9 last', 'overview_location': 'span-12 last', }, ------------ And for 960gs : ------------ # for "960gs" with 12 columns, all width '960gs-12': { 'content_main_2col': 'grid_8', 'content_related': 'grid_4', 'content_main': 'grid_12', 'nav': 'grid_12', 'public_vcard_content': 'grid_6 alpha', 'public_vcard_map': 'grid_6 omega', 'overview_avatar': 'grid_2 alpha', 'overview_details': 'grid_6 omega', 'overview_location': 'grid_8 alpha omega', }, ------------ I've just worked with "span-*", "last", "prepend-*", "append-*" and "colborer" classes because all others are comprehensive enough to be defined in a css ("box", "notice"...) Patches are attached Twidi PS : an idea to avoid declaring the processor in the settings if you want to use blueprint ? Without overloading the templates by doing stuff like this : ------- class="{% if css_frm %}{{css_frm.content_main}}{% else %}span-22 prepend-1 append-1{% endif %} ------- which is ugly for me :)
    As i said on the mailing-list (https://groups.google.com/group/django-profile/browse_thread/thread/9b1545447b2825e8), i've done some work for using another css framework instead of blueprint, or whatever css classes you want. I've done this by using a context processor, which check a settings variable for choosing a dict to use in templates (do not forget to declare the processor in your settings too !) User can set either a string, to refer to one of the defined dicts, or a dict to set it's own classes. Here the dict for blueprint (the default one) : ----------- # for "blueprint css", all width 'blueprint': { 'content_main_2col': 'span-13 prepend-1 colborder', 'content_related': 'span-8 last', 'content_main': 'span-22 prepend-1 append-1', 'nav': 'span-24 last', 'public_vcard_content': 'span-10', 'public_vcard_map': 'span-10', 'overview_avatar': 'span-3', 'overview_details': 'span-9 last', 'overview_location': 'span-12 last', }, ------------ And for 960gs : ------------ # for "960gs" with 12 columns, all width '960gs-12': { 'content_main_2col': 'grid_8', 'content_related': 'grid_4', 'content_main': 'grid_12', 'nav': 'grid_12', 'public_vcard_content': 'grid_6 alpha', 'public_vcard_map': 'grid_6 omega', 'overview_avatar': 'grid_2 alpha', 'overview_details': 'grid_6 omega', 'overview_location': 'grid_8 alpha omega', }, ------------ I've just worked with "span-*", "last", "prepend-*", "append-*" and "colborer" classes because all others are comprehensive enough to be defined in a css ("box", "notice"...) Patches are attached Twidi PS : an idea to avoid declaring the processor in the settings if you want to use blueprint ? Without overloading the templates by doing stuff like this : ------- class="{% if css_frm %}{{css_frm.content_main}}{% else %}span-22 prepend-1 append-1{% endif %} ------- which is ugly for me :)
  • Apr 03, 2009
    Starred project jqueryjs
  • Apr 03, 2009
    issue 50 (French translations (django.po provided)) reported   -   Hi You can find attached the french ("fr") translation for django-profile Twidi
    Hi You can find attached the french ("fr") translation for django-profile Twidi
  • Apr 02, 2009
    issue 47 (Template location setting) commented on   -   I updated setup.py to use setuptools (like django-friends) and it works, there is a patch (just adapted from the one for django-friends, i don't know if it's really a good thing...)
    I updated setup.py to use setuptools (like django-friends) and it works, there is a patch (just adapted from the one for django-friends, i don't know if it's really a good thing...)