Re: [Django] #16829: sitemap for static views

2013-05-19 Thread Django
#16829: sitemap for static views
-+-
 Reporter:  madisv   |Owner:  zsiciarz
 Type:  New feature  |   Status:  closed
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  views sitemap| Triage Stage:  Ready for
Has patch:  1|  checkin
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by timo):

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


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2013-05-19 Thread Django
#16829: sitemap for static views
-+-
 Reporter:  madisv   |Owner:  zsiciarz
 Type:  New feature  |   Status:  assigned
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  views sitemap| Triage Stage:  Ready for
Has patch:  1|  checkin
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-

Comment (by Zbigniew Siciarz ):

 In [changeset:"d77082b43877b4df0f29fa977b73b7b4feab84d4"]:
 {{{
 #!CommitTicketReference repository=""
 revision="d77082b43877b4df0f29fa977b73b7b4feab84d4"
 Added example of using sitemaps with static views.

 References #16829.
 }}}

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2013-05-19 Thread Django
#16829: sitemap for static views
-+-
 Reporter:  madisv   |Owner:  zsiciarz
 Type:  New feature  |   Status:  assigned
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  views sitemap| Triage Stage:  Ready for
Has patch:  1|  checkin
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by pyriku):

 * stage:  Accepted => Ready for checkin


Comment:

 Looks OK to me

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2013-05-18 Thread Django
#16829: sitemap for static views
---+
 Reporter:  madisv |Owner:  zsiciarz
 Type:  New feature|   Status:  assigned
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords:  views sitemap  | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by zsiciarz):

 * has_patch:  0 => 1


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2013-05-18 Thread Django
#16829: sitemap for static views
---+
 Reporter:  madisv |Owner:  zsiciarz
 Type:  New feature|   Status:  assigned
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords:  views sitemap  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by zsiciarz):

 Relevant pull request: https://github.com/django/django/pull/1098

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2013-05-18 Thread Django
#16829: sitemap for static views
---+
 Reporter:  madisv |Owner:  zsiciarz
 Type:  New feature|   Status:  assigned
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords:  views sitemap  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by zsiciarz):

 * owner:  nobody => zsiciarz
 * status:  new => assigned
 * version:  1.3 => 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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2012-11-21 Thread Django
#16829: sitemap for static views
---+
 Reporter:  madisv |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Documentation  |  Version:  1.3
 Severity:  Normal |   Resolution:
 Keywords:  views sitemap  | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by camilonova):

 This is a real issue, and i agree with carljm, if you suggest me a place
 for adding the documentation i can do that.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #16829: sitemap for static views

2011-09-13 Thread Django
#16829: sitemap for static views
---+---
   Reporter:  madisv   |  Owner:  nobody
   Type:  New feature  | Status:  new
  Milestone:  1.4  |  Component:  Documentation
Version:  1.3  |   Severity:  Normal
 Resolution:   |   Keywords:  views sitemap
   Triage Stage:  Accepted |  Has patch:  0
Needs documentation:  0|Needs tests:  0
Patch needs improvement:  0|  Easy pickings:  0
  UI/UX:  0|
---+---
Changes (by carljm):

 * needs_better_patch:   => 0
 * component:  contrib.sitemaps => Documentation
 * needs_tests:   => 0
 * needs_docs:   => 0
 * has_patch:  1 => 0
 * stage:  Unreviewed => Accepted


Comment:

 I don't think this code needs to be in Django, but the sitemaps
 documentation could benefit from an example like this showing how to add
 static views to a sitemap.

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #16829: sitemap for static views

2011-09-13 Thread Django
#16829: sitemap for static views
---+--
 Reporter:  madisv |  Owner:  nobody
 Type:  New feature| Status:  new
Milestone:  1.4|  Component:  contrib.sitemaps
  Version:  1.3|   Severity:  Normal
 Keywords:  views sitemap  |   Triage Stage:  Unreviewed
Has patch:  1  |  Easy pickings:  0
UI/UX:  0  |
---+--
 People also use static views which are not FlatPages. So it's a problem
 creating a sitemap for such urls.
 This is not hard to do if you know how so should this code maybe also be
 in django or might we just document this so people would know how to do
 this.

 Problem explained also:
 http://stackoverflow.com/questions/4836188/django-sitemaps-and-normal-
 views

 Solution by Matt Austin:
 from django.core.urlresolvers import reverse
 from django.contrib.sitemaps import Sitemap



 {{{
 class ViewSitemap(Sitemap):
 """Reverse static views for XML sitemap."""
 def items(self):
 # Return list of url names for views to include in sitemap
 return ['homepage', 'news_article_list', 'contact_page']

 def location(self, item):
 return reverse(item)


 sitemaps = {'views': ViewSitemap, 'news_articles': ArticleSitemap}
 }}}

-- 
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.