This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| STATICFILES_DIRS = ( | |
| os.path.join(BASE_DIR, 'misitio/static'), | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSTALLED_APPS = ( | |
| 'django.contrib.admin', | |
| 'django.contrib.auth', | |
| 'django.contrib.contenttypes', | |
| 'django.contrib.sessions', | |
| 'django.contrib.messages', | |
| 'django.contrib.staticfiles', | |
| 'misitio.apps.main', | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.conf.urls import patterns, include, url | |
| from django.conf import settings | |
| from django.contrib import admin | |
| admin.autodiscover() | |
| urlpatterns = patterns('', | |
| url(r'^admin/', include(admin.site.urls)), | |
| url(r'^', include('misitio.apps.main.urls')), | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.conf.urls import patterns, url | |
| from app import views | |
| urlpatterns = patterns('', | |
| url(r'^$', views.app_index, name='app_index'), | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| misitio | |
| -misitio | |
| --_init_.py | |
| --settings.py | |
| --models.py | |
| --urls.py | |
| --views.py | |
| -manage.py | |
| -db.sqlite3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script> | |
| <script> | |
| $(function(){ | |
| /** | |
| * Algoritmo para validar cedulas de Ecuador | |
| * @Author : Victor Diaz De La Gasca. | |
| * @Fecha : Quito, 15 de Marzo del 2013 | |
| * @Email : vicmandlagasca@gmail.com | |
| * @Pasos del algoritmo |
NewerOlder