$arr = array(
'country' => $country,
'city' => $city,
'lat' => $lat,
'lng' => $lng,
);
file_put_contents('data_yandex_map.json', json_encode($arr));
add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);
function special_nav_class($classes, $item){
$classes[] = 'your-custom-class';
return $classes;
}
-webkit-transition: filter .5s;
-moz-transition: filter .5s;
-o-transition: filter .5s;
transition: filter .5s;
from django.contrib.auth.models import User
u = User.objects.get(username='john')
u.set_password('new password')
u.save()