skip to Main Content

PHP Trait static property

I have a class that extends EloquentModel. I want to define a trait that adds a static property and a static method to the class. trait Searchable { protected static array $searchable; public static function formatSearchQuery($value) { $queryArray = array();…

VIEW QUESTION

nginx dot'n static in django project

After settings nginx in server static has disappeared from the site. If you work only with gunicorn, all everything is successful. Command "python manage.py collectstatic " executed : 440 static files copied to '/home/v_n_kich/Project_LAWboard/static'. settings.py STATIC_URL = '/static/' STATIC_ROOT =…

VIEW QUESTION
Back To Top
Search