Skip to content

memoriadecalculo/django-sympycharfield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-sympycharfield

Django Char Field using Sympy

Description

SympyCharField is a simple Django app to use Sympy through a CharField.

Install

Run the command in the terminal::

pip install django-sympycharfield

Quick start

  1. Import in your models.py::

    from sympycharfield.models import SympyCharField

  2. Use it as CharField.

Test

  1. If you would like to check if SympyCharField is working fine, add SympyCharField demo application to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'sympycharfield.demo', ]

  2. Include the SympyCharField URLconf in your project urls.py like this::

    from django.urls import include ... path('sympycharfield/', include('sympycharfield.demo.urls')),

  3. Run python manage.py makemigrations demo to create the sympycharfield models.

  4. Run python manage.py migrate to create the sympycharfield models.

  5. Start the development server and visit http://127.0.0.1:8000/admin/ to create a sympycharfield (you'll need the Admin app enabled).

  6. Visit http://127.0.0.1:8000/sympycharfield/ to check.

About

Django Char Field using Sympy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published