Coder Social home page Coder Social logo

codenerix / django-codenerix Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 7.0 10.88 MB

Django+AngularJS+Bootstrap library for fast development of CMS, ERP, Business Management Software

Home Page: http://www.codenerix.com

License: Apache License 2.0

Python 24.67% CSS 25.04% JavaScript 45.37% HTML 4.93%

django-codenerix's People

Contributors

idertator avatar juanmitaboada avatar soleronline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-codenerix's Issues

Change variable in file form.html

Hola.
Les comento que he encontrado un error en las variables en el template form.html.
Ubicacion: django-codenerix/codenerix/templates/codenerix/form.html

Lineas:
493: {% if group.html_helper_pre %}
495: {{group.html_helper_pre|safe}}

Se debe corregir el "pre" por "post":
493: {% if group.html_helper_post %}
495: {{group.html_helper_post|safe}}

No se si esto debo publicarlo de esta forma o si es lo correcto.
En lo que pueda deseo contribuir con el proyecto ya que actualmente lo estoy utilizando.
Saludos.

Bug sublistas

En las sublistas, existe un bug el cuál no permite volver atrás o editar usando sus botones correspondientes.

Error al Exportar a .xlsx con valores decimales

Al querer exportar a .xlsx un listado con valores tipo Decimal o Float, se genera el siguiente error:
"Parser must be a string or character stream, not float"

Parece ser que no acepta exportar valores decimales; como si previamente habria que convertirlos a str().

Demos no funcionan

python manage.py runserver
Performing system checks...

Unhandled exception in thread started by <function check_errors..wrapper at 0x7f1f91ebc0d0>
Traceback (most recent call last):
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run
self.check(display_num_errors=True)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/management/base.py", line 379, in check
include_deployment_checks=include_deployment_checks,
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/management/base.py", line 366, in _run_checks
return checks.run_checks(**kwargs)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/checks/registry.py", line 71, in run_checks
new_errors = check(app_configs=app_configs)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique
all_namespaces = _load_all_namespaces(resolver)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces
url_patterns = getattr(resolver, 'url_patterns', [])
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/utils/functional.py", line 37, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/utils/functional.py", line 37, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/django/urls/resolvers.py", line 526, in urlconf_module
return import_module(self.urlconf_name)
File "/home/nericervin/Desarrollo2/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/nericervin/Desarrollo2/django-codenerix-examples/exchange/exchange/urls.py", line 7, in
from exchange.base import urls as base_urls
File "/home/nericervin/Desarrollo2/django-codenerix-examples/exchange/exchange/base/urls.py", line 3, in
from .views import CurrencyList, CurrencyCreate, CurrencyCreateModal, CurrencyUpdate, CurrencyUpdateModal, CurrencyDelete, CurrencyForeign, CurrencyOnline
File "/home/nericervin/Desarrollo2/django-codenerix-examples/exchange/exchange/base/views.py", line 16, in
from codenerix.views import GenList, GenCreate, GenCreateModal, GenDetail, GenUpdate, GenUpdateModal, GenDelete, GenForeignKey
File "/home/nericervin/Desarrollo2/lib/python3.6/site-packages/codenerix/views.py", line 52, in
from django.utils.translation import string_concat, gettext
ImportError: cannot import name 'string_concat'

"not enough arguments for format string" when using custom_queryset()

Recently we faced an error when using a custom_queryset() together with queryset.query

The resultant string had inside "%" (percentage character) for LIKES clauses and MySQLDB module at is actual version is rendering the query using:
query = query % args

The error I verified it is happening in Django 4.0.2 together with Python 3.9 at MySQLdb/cursors.py, line 201

The short solution was to replace those with the right ones:
.replace('(%"', '("%%').replace('"%)', '%%")')

I believe this is a Django 4 bug that they might correct soon, here is the ticket.

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.