Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to PyPi #94

Open
haradhansharma opened this issue Jan 18, 2023 · 4 comments
Open

Update to PyPi #94

haradhansharma opened this issue Jan 18, 2023 · 4 comments

Comments

@haradhansharma
Copy link

PyPi and git are diffrent. I saw it in the model. Should be updated at the PyPI.

from pypi
`from six import python_2_unicode_compatible
from django.db import models
from django.utils.translation import gettext_lazy as _
from jsonfield.fields import JSONField

from .managers import CurrencyManager
`
in gitub

`from six import python_2_unicode_compatible
from django.db import models
from django.utils.translation import gettext_lazy as _

from .managers import `

@panosl
Copy link
Owner

panosl commented Jan 20, 2023

Yes, I will be pushing the latest version on PyPI.

I'm waiting on verification on:

  1. Not Compatible with Django 4 #90
  2. Publishing 0.10.2 #85

Those should be fixed in the latest master on github. If you could help by verifying this on your end, I can push the updated version of PyPI.

@haradhansharma
Copy link
Author

As mentioned in the comments and already removed the prebious JSONField and at urls.py replaced re-path instead of url it is workable in 4. I have manually updated the files from github and it is working fine. So I think you may push.

@haradhansharma
Copy link
Author

But need to remove the package JSONField as it is not needed and it calls ugettex_lazy

@ish91
Copy link

ish91 commented Oct 12, 2023

Please do push to PyPi, but in the meantime if anyone wants to use this package without this error, one can install the package directly from the git repository:
in requirements.txt:
django-currencies @ git+https://github.com/panosl/django-currencies.git@master
with pip:
pip install git+git@github.com:panosl/django-currencies.git@master

Note: I wouldn't use this in production, but works fine for development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants