Comments (7)
from django-ca.
Hi!
Thanks for reply!
django=3.2.10
django-ca=1.19.0
python 3.8.10
Update django_ca from 1.16.0 to 1.19.0
There are migrations which should be applied
But when I try to check or create new migrations, I received new migration 27 in library
from django-ca.
Hi,
I unfortunately still struggle to reproduce this issue. I do have a good theory by now, though. Maybe you can help me confirm it:
First, What's the value of your DEFAULT_AUTO_FIELD
setting? I'm guessing it is django.db.models.AutoField
- no "Big" in there, right?
If I'm right, an you please test two things?
First, in django_ca/app.py
, set default_auto_field
, like so:
--- a/ca/django_ca/apps.py
+++ b/ca/django_ca/apps.py
@@ -21,5 +21,6 @@ from django.utils.translation import gettext_lazy as _
class DjangoCAConfig(AppConfig): # pylint: disable=missing-class-docstring
+ default_auto_field = "django.db.models.BigAutoField"
name = "django_ca"
verbose_name = _("Certificate Authority")
This should make the issue go away cleanly - if my theory is right.
Second, in your settings, try setting DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
. This should make the django-ca migration go away as well (but will introduce the same migrations in other apps, if you have any).
Can you confirm both? If yes, I will apply the patch to app.py
, which should be a permanent fix for this scenario. The fix will be in the soon-to-be-released 1.20.0 (so you could leave your patch in place as a workaround, if that is feaseable to you).
from django-ca.
Hi!)
Yes, is it.
Currently DEFAULT_AUTO_FIELD=django.db.models.AutoField
in settings.py
I will test it today!
Thank you!
from django-ca.
Hi!
According your suggest I checked 1st test and
Its work :)
Thank you!
from django-ca.
Hi,
I will be releasing django-ca 1.19.1 which will fix the issue (and add explicit support for Django 4.0 and cryptography 36). I will close this issue once it's released (currently still running the tox test suite).
Thank you for using django-ca. Please let me know if you have any further issues!
kr, Mat
from django-ca.
I just published 1.19.1, it includes the fix from the commit above. Please let me know if you have any further issues.
kr, Mat
from django-ca.
Related Issues (20)
- REST api HOT 8
- ACME error HOT 5
- Configure OCSP response validity when using docker compose HOT 4
- Acme Disable new accounts HOT 4
- Parsing issues running init_ca HOT 2
- OCSP request for unknown cert received HOT 7
- Ability to sign certificate via configurable hook / external HSM HOT 14
- Smartcard Extension 1.3.6.1.4.1.311.25.2 support HOT 1
- http/500 when requesting certificate HOT 6
- failed to parse fullchain into cert and chain: less than 2 certificates in chain HOT 4
- ecc_curve in 'init_ca' command HOT 5
- acme clients not working, bad nonce HOT 7
- multiple SAN attributes not working HOT 3
- CA_PROFILES expiration time is ignored HOT 2
- CRL Issuing Distribution Point (IDP) should be configurable in CertificateRevocationListView HOT 7
- TypeError: cannot pickle 'builtins.ObjectIdentifier' object HOT 3
- Config is not read HOT 2
- Generate CT Certificate Transparency logs HOT 2
- CA_DEFAULT_SUBJECT HOT 2
- Profiles - default, custom and command line HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-ca.