Francesco Cataldo

Results 36 comments of Francesco Cataldo

So I've tried to add some code in settings.py... to allow method in the server ngix and to fix that error: `Refused to display in a frame because it set...

@cobia So I think the problem is in build_min.js because gettext is undefined... and that's become django doesn't have any gettext associated (I think...)

It can be used the function on `UniqueTogetherValidator,` `enforce_required_fields` to avoid the keyerror: ```python def enforce_required_fields(self, attrs, serializer): """ The `UniqueTogetherValidator` always forces an implied 'required' state on the fields...

Follow the instructions by @hetvi01 Example: app_label -> `example` `your_project.your_application.apps.py` ```python from django.apps import AppConfig class ExampleConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "example" verbose_name = "Examples" def ready(self) -> None:...

If you manually install the `electron21` package, could you install bruno? ```shell sudo pacman -Syu electron21 ```

great solution, instead of `CharField`, i'll be use a `FilePathField` from django docs [FilePathField](https://docs.djangoproject.com/en/4.2/ref/models/fields/#filepathfield) ![image](https://github.com/fabiocaccamo/django-admin-interface/assets/78490028/5d384593-6619-4a92-a6a5-5f7b263b1ee4)

> > great solution, instead of `CharField`, i'll be use a `FilePathField` > > from django docs [FilePathField](https://docs.djangoproject.com/en/4.2/ref/models/fields/#filepathfield) ![image](https://private-user-images.githubusercontent.com/78490028/313637854-5d384593-6619-4a92-a6a5-5f7b263b1ee4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA3NTkxODIsIm5iZiI6MTcxMDc1ODg4MiwicGF0aCI6Ii83ODQ5MDAyOC8zMTM2Mzc4NTQtNWQzODQ1OTMtNjYxOS00YTkyLWE2YTUtNWY3YjI2M2IxZWU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzE4VDEwNDgwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZhNWJiNzU2NTRmYzJmN2JkM2RhMWE4ZmNhMTFkMTA4ZDg5ZjRiYWRlNGFlNWE2NTlmNmE2ZWZkNzEwM2MwNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eYwy6n7c0KIwR2hbN0qktkQzm4ggcEgLdazGgbzP0lA) > > Good catch ! Didn't think of it, but sure...

@fabiocaccamo the users would do a migration command, cause new field features..

@fabiocaccamo why should there be conflicts?

@fabiocaccamo but if you customize the path setting, should not run `makemigrations`, is a features of `FilePathField`. We can add a callable to dynamically return the path for the new...