Git Product home page Git Product logo

Comments (11)

regit avatar regit commented on August 15, 2024

Regarding warning on SortedDict this is on django_tables2 so you may need to warn them directly.

from scirius.

regit avatar regit commented on August 15, 2024

The other warnings should be fixed by 1f75865

from scirius.

regit avatar regit commented on August 15, 2024

Closing as only django_tables2 warning is remaining.

from scirius.

drew1kun avatar drew1kun commented on August 15, 2024

I've recloned the master branch and got the same warnings

from scirius.

regit avatar regit commented on August 15, 2024

Do you confirm you are seing:

rules.Category.created_date: (fields.W161) Fixed default value provided.
    HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now`

from scirius.

regit avatar regit commented on August 15, 2024

OK, I'm seeing this with Django 1.8.3 too.

from scirius.

regit avatar regit commented on August 15, 2024

For django_tables2 warning, it is fixed after running:

pip install --upgrade django-tables2

from scirius.

drew1kun avatar drew1kun commented on August 15, 2024

Getting this:

WARNINGS:
rules.Category.created_date: (fields.W161) Fixed default value provided.
    HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now`
rules.SourceAtVersion.updated_date: (fields.W161) Fixed default value provided.
    HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now`
rules.SourceUpdate.created_date: (fields.W161) Fixed default value provided.
    HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now`

from scirius.

drew1kun avatar drew1kun commented on August 15, 2024

I ran git pull hoping to get rid of warnings and now getting this:
1
Shell output:

$ /usr/local/bin/python /usr/local/var/www/scirius/manage.py runse
/usr/local/lib/python2.7/site-packages/django_tables2/tables.py:175: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs["base_columns"] = SortedDict(parent_columns)

/usr/local/lib/python2.7/site-packages/django_tables2/tables.py:197: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs["base_columns"].update(SortedDict(cols))

/usr/local/lib/python2.7/site-packages/django_tables2/tables.py:175: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs["base_columns"] = SortedDict(parent_columns)

/usr/local/lib/python2.7/site-packages/django_tables2/tables.py:197: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  attrs["base_columns"].update(SortedDict(cols))

Performing system checks...

System check identified no issues (0 silenced).
August 20, 2015 - 16:30:44
Django version 1.8, using settings 'scirius.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
/usr/local/lib/python2.7/site-packages/django_tables2/tables.py:178: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.
  extra = SortedDict()

from scirius.

regit avatar regit commented on August 15, 2024

Hello @Drewshg312 I have just pushed the migration. See https://docs.djangoproject.com/en/1.8/topics/migrations/ for information on Django migration. You should now be able to fix your installation by running

git pull
python manage.py migrate

Regarding the warning, as stated before this is not a scirius bug, please update django-tables2. For instance by running:

pip install --upgrade django-tables2

from scirius.

drew1kun avatar drew1kun commented on August 15, 2024

Thanx! Works now!

from scirius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.