Re: [Django] #23558: document slugify limitations

2019-05-06 Thread Django
#23558: document slugify limitations
-+-
 Reporter:  Mikhail Korobov  |Owner:  David
 Type:   |  Hoffman
  Cleanup/optimization   |   Status:  closed
Component:  Documentation|  Version:  1.7
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Ülgen Sarıkavak):

 Documentation is still misleading, why this issue is closed?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.91ecd0572925c1d027d943b60547feb5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2015-01-22 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by Haakenlid):

 Is this the new documentation?

  Converts to ASCII. Converts spaces to hyphens. Removes characters that
 aren't alphanumerics, underscores, or hyphens. Converts to lowercase.
 Also strips leading and trailing whitespace.

 Where can I find out which alphanumerics are deleted, and which
 alphanumerics are converted to ASCII?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.40f4c520f40fedfa474d91ca436d4b67%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-30 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"d9bb7128fe7bc565a2dbbd1e89bb0345711b46f6"]:
 {{{
 #!CommitTicketReference repository=""
 revision="d9bb7128fe7bc565a2dbbd1e89bb0345711b46f6"
 [1.7.x] Fixed #23558 -- documented slugify limitations

 Backport of 03467368db from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.8a1f44fe6033086aeab454d48ff38ea5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-30 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by Tim Graham ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"03467368dbd6a427985f86463faa61619f08c833"]:
 {{{
 #!CommitTicketReference repository=""
 revision="03467368dbd6a427985f86463faa61619f08c833"
 Fixed #23558 -- documented slugify limitations
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.883da7f05f9fd637fbbd8c32cd6dca15%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-13 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by dhoffman):

 Ah, good point.

 I have updated with another pull request:
 https://github.com/django/django/pull/3358

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.dca8bcbcc0aaf9ebc3af845e730ada6d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-13 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by SmileyChris):

 The problem is, it's not *just* ASCII alphanumerics kept either so the
 suggested description is still incorrect:
 {{{
 Python 3.4.0 (default, Apr 11 2014, 13:05:11)
 [GCC 4.8.2] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 (InteractiveConsole)
 >>> from django.utils.text import slugify
 >>> slugify('Māori')
 'maori'
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.c87451102ae9d60af9294c05ff188571%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-13 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by dhoffman):

 I created a new pull request based on the feedback to my previous one:
 https://github.com/django/django/pull/3357

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.d863b574f25a6e90e9dde66c74cb0abb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-12 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by dhoffman):

 * has_patch:  0 => 1


Comment:

 Pull request: https://github.com/django/django/pull/3349

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.8ae70ecee01b7fe1089457fc7e7ac7cd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-10-12 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  dhoffman
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by dhoffman):

 * status:  new => assigned
 * owner:  nobody => dhoffman


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.aa3d7e3a85093f807e3f0d86a4cd81db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-09-28 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by mitar):

 You can also point to [https://github.com/mitar/django-
 missing/blob/master/missing/templatetags/url_tags.py#L179 slugify2]. ;-)

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.077dfb3df98d4f66b9cbce2413bce1b1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-09-28 Thread Django
#23558: document slugify limitations
--+
 Reporter:  kmike |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by aaugustin):

 * type:  Uncategorized => Cleanup/optimization
 * stage:  Unreviewed => Accepted


Comment:

 `s/alphanumerics/ASCII alphanumerics/` should do the job :-)

 More seriously, let's take this opportunity to expand a bit the
 documentation and point to [https://github.com/mozilla/unicode-slugify/
 unicode-slugify] -- which produces unicode slugs, while django produces
 ASCII slugs.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.f79b4a82f15d97f0aea88d13a5d23ef6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23558: document slugify limitations

2014-09-25 Thread Django
#23558: document slugify limitations
---+--
 Reporter:  kmike  |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Documentation  |  Version:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  1  |UI/UX:  0
---+--
Changes (by mitar):

 * cc: mmitar@… (added)
 * needs_docs:   => 0
 * needs_tests:   => 0
 * needs_better_patch:   => 0


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.86931368aaab99bcc6885ce29c430bba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #23558: document slugify limitations

2014-09-25 Thread Django
#23558: document slugify limitations
---+
 Reporter:  kmike  |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  Documentation  |Version:  1.7
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  1  |  UI/UX:  0
---+
 Currently slugify docs say:

 > slugify Converts to lowercase, removes non-word characters
 (alphanumerics and underscores) and converts spaces to hyphens. Also
 strips leading and trailing whitespace.

 In Python 3:

 {{{
 >>> 'вася'.isalnum()
 >>> True
 }}}

 but slugify doesn't work like documented for such strings. Isn't it a bug
 if something doesn't work as documented?

 https://code.djangoproject.com/ticket/8391 was closed as wontfix. If there
 is no intention to make slugify work better it should be documented when
 it works and when people should find alternative solutions.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.ba3ababf591a69b99b1d807cfb76b756%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.