Ver Mensaje Individual
  #1  
Antiguo 03-04-2011
Avatar de Julián
Julián Julián is offline
Merodeador
 
Registrado: may 2003
Ubicación: en mi casa
Posts: 2.019
Reputación: 10
Julián Va por buen camino
Django para torpes

Para torpes como yo, aclaro. Vamos a ver que se puede hacer con esto

Estamos usando un Debian 64 Squeeze, que es el último, hemos comprobado que python debe estar instaldo, pues escribiendo el comando python en un bash shell sale el interprete, del cual lo único que sé es que para salir hay que escribir quit(), cosa de la que me enterado escribiendo help(). Gueno, ya sé mas que hace un rato.


El siguiente paso será instalar django que parece ser que es un framework bastante potente para hacer aplicaciones webs, motivo por el cual estamos escribiendo esto. A ver si es verdad que es mejor que el PHP y cambiamos de lenguaje.

Podemos ver que está disponible para su instalción con apt:
Código:
#sudo aptitude search django
p   mumble-django                                         - A Mumble-Server web interface                                   
p   python-django                                         - High-level Python web development framework                     
p   python-django-app-plugins                             - plugin system for django                                        
p   python-django-auth-ldap                               - Django LDAP authentication backend                              
p   python-django-auth-openid                             - provides optional OpenID integration for Django                 
p   python-django-contact-form                            - extensible contact-form application for Django                  
p   python-django-countries                               - provides a country field for Django models                      
p   python-django-dajax                                   - easy to use ajax library for django                             
p   python-django-dajaxice                                - agnostic and easy to use AJAX library for django                
p   python-django-debug-toolbar                           - Embedded debugging toolbar for Django projects                  
p   python-django-djapian                                 - Search API for Django using Xapian                              
p   python-django-djblets                                 - Re-usable components for Django projects                        
p   python-django-dmigrations                             - Database migration tool for Django projects                     
p   python-django-doc                                     - High-level Python web development framework (documentation)     
p   python-django-extensions                              - Useful extensions for Django projects                           
p   python-django-filebrowser                             - file management in the Django admin interface                   
p   python-django-formfieldset                            - fieldset rendering mixin for Django-based forms                 
p   python-django-genshi                                  - Django integration for Genshi                                   
p   python-django-lint                                    - Static analysis tool for Django projects and applications       
p   python-django-markupfield                             - custom Django field for easy use of markup in text fields       
p   python-django-mumble                                  - A Mumble-Server config application for Django                   
p   python-django-nose                                    - Django test runner that uses python-nose                        
p   python-django-picklefield                             - Pickled object field for Django                                 
p   python-django-piston                                  - Django mini-framework creating RESTful APIs                     
p   python-django-registration                            - A user-registration application for Django                      
p   python-django-reversion                               - Provides comprehensive version control facilities for Django    
p   python-django-rosetta                                 - Eases the translation process of your Django projects           
p   python-django-shorturls                               - A short URL handler for Django applications                     
p   python-django-south                                   - Intelligent schema migrations for django apps                   
p   python-django-swordfish                               - Persistent key-value database with HTTP interface (Django integr
p   python-django-tagging                                 - A generic tagging application for Django projects               
p   python-django-threaded-multihost                      - allows to serve multiple sites from one django installation     
p   python-django-tinymce                                 - replacement text widget for Django web framework                
p   python-django-treebeard                               - Efficient implementations of tree data structures for Django    
p   python-django-treebeard-doc                           - Efficient implementations of tree data structures for Django (do
v   python2.4-django-genshi                               -                                                                 
v   python2.5-django-genshi
Así que escribimos "aptitude install python-django" y en unos segundos ya está puesto. Ahora,a ver como leches se usa esto

CONTINUARÁ ..
__________________
"la única iglesia que ilumina es la que arde"
Anonimo
Responder Con Cita