This file contains 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
<!-- Start cars loop --> | |
<?php | |
$count = 0; | |
$separator = 0; | |
$cat_selected = get_category($cat); | |
$args = array( 'post_type' => 'car','cat'=>$cat_selected->cat_ID ); | |
$loop = new WP_Query( $args ); | |
echo '<div class="cars-list allcars grid_12">'; | |
while ( $loop->have_posts() ) : $loop->the_post(); |
This file contains 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
<!-- Start cars loop --> | |
<?php | |
$count = 0; | |
$separator = 0; | |
$cat_selected = get_category($cat); | |
$args = array( 'post_type' => 'car','cat'=>$cat_selected->cat_ID ); | |
$loop = new WP_Query( $args ); | |
echo '<div class="cars-list allcars grid_12">'; | |
while ( $loop->have_posts() ) : $loop->the_post(); |
This file contains 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
if (file_exists(dirname(__FILE__) . '/local-config.php')){ | |
include(dirname(__FILE__) . '/local-config.php'); | |
define ('WP_LOCALE_DEV',True); | |
} | |
else{ | |
define ('WP_LOCALE_DEV',False); | |
// ** Ajustes de MySQL. Solicita estos datos a tu proveedor de alojamiento web. ** // | |
/** El nombre de tu base de datos de WordPress */ | |
define('DB_NAME', 'bdserver'); |
This file contains 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
if (file_exists(dirname(__FILE__) . '/local-config.php')){ | |
include(dirname(__FILE__) . '/local-config.php'); | |
define ('WP_LOCALE_DEV',True); | |
} | |
else{ | |
define ('WP_LOCALE_DEV',False); | |
// ** Ajustes de MySQL. Solicita estos datos a tu proveedor de alojamiento web. ** // | |
/** El nombre de tu base de datos de WordPress */ | |
define('DB_NAME', 'bdserver'); |
This file contains 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
south.exceptions.GhostMigrations: | |
! These migrations are in the database but not on disk: | |
<registro: 0005_auto__add_autor__add_libro> | |
! I'm not trusting myself; either fix this yourself by fiddling | |
! with the south_migrationhistory table, or pass --delete-ghost-migrations | |
! to South to have it delete ALL of these records (this may not be good). |
This file contains 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
urlpatterns = patterns('agualiweb.actividades.views', | |
url(r'^$', ListView.as_view(model=Actividad, | |
template_name="actividades/list.html", | |
queryset=Actividad.objects.filter(fecha_inicio__gte=datetime.date.today())) |
This file contains 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 type="text/javascript"> | |
$(function() { | |
$elem = $('#actionbuttons'); | |
// detectar el scroll de la ventana y fixear el elemento | |
$(window).bind('scroll', function() { | |
var windowTop = $(this).scrollTop(); | |
if(windowTop>=240){ | |
$elem.addClass('fixed'); | |
}else{ |
This file contains 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
{% block extra_header %} | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$('#id_birthdate_month option:first').text('Mes'); | |
$('#id_birthdate_day option:first').text('Dia'); | |
$('#id_birthdate_year option:first').html('Año'); | |
$('#id_nombre').focus(); | |
}); | |
</script> | |
{% endblock %} |
This file contains 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
[14:22:18] bcorrales:askbot-mac $ python manage.py runserver | |
Validating models... | |
************************ | |
* * | |
* Askbot self-test * | |
* * | |
************************ |
This file contains 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
[13:55:29] bcorrales:askbot-mac $ python manage.py migrate --all | |
************************ | |
* * | |
* Askbot self-test * | |
* * | |
************************ | |
NewerOlder