#16671: 5th tutorial on turning Polls into a reusable app
-------------------------------+------------------------------------
     Reporter:  stumbles       |                    Owner:  ben@…
         Type:  New feature    |                   Status:  new
    Component:  Documentation  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by stumbles):

 Replying to answer my own question - the following looks like a neater
 approach:


 {{{
 from distutils.core import setup

 setup(
     name='django-polls',
     version='0.1',
     packages=['polls'],
     package_data={'polls': ['templates/polls/*']},
     license='',
     long_description=open('README.txt').read(),
     url='http://www.example.com/',
     author='Your Name',
     author_email='yourn...@example.com',
 )
 }}}

 Please let me know if there's a better approach.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16671#comment:14>
Django <https://code.djangoproject.com/>
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.


Reply via email to