diff --git a/locale/es/LC_MESSAGES/django.po b/locale/es/LC_MESSAGES/django.po new file mode 100644 index 0000000..b0fa9f6 --- /dev/null +++ b/locale/es/LC_MESSAGES/django.po @@ -0,0 +1,2061 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-08-11 23:37-0500\n" +"PO-Revision-Date: 2023-08-12 00:04-0500\n" +"Last-Translator: Sergio Orozco \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: temii/templates/account/account_inactive.html:5 +#: temii/templates/account/account_inactive.html:8 +msgid "Account Inactive" +msgstr "Cuenta inactiva" + +#: temii/templates/account/account_inactive.html:10 +msgid "This account is inactive." +msgstr "Esta cuenta está inactiva." + +#: temii/templates/account/email.html:7 +msgid "Account" +msgstr "Cuenta" + +#: temii/templates/account/email.html:10 +msgid "E-mail Addresses" +msgstr "Dirección de correo" + +#: temii/templates/account/email.html:13 +msgid "The following e-mail addresses are associated with your account:" +msgstr "Los siguientes correos electrónicos están asociados a su cuenta:" + +#: temii/templates/account/email.html:27 +msgid "Verified" +msgstr "Verificado" + +#: temii/templates/account/email.html:29 +msgid "Unverified" +msgstr "Sin verificar" + +#: temii/templates/account/email.html:31 +msgid "Primary" +msgstr "Principal" + +#: temii/templates/account/email.html:37 +msgid "Make Primary" +msgstr "Hacer principal" + +#: temii/templates/account/email.html:38 +msgid "Re-send Verification" +msgstr "Re-enviar verificación" + +#: temii/templates/account/email.html:39 +msgid "Remove" +msgstr "Eliminar" + +#: temii/templates/account/email.html:46 +msgid "Warning:" +msgstr "Advertencia:" + +#: temii/templates/account/email.html:46 +msgid "" +"You currently do not have any e-mail address set up. You should really add " +"an e-mail address so you can receive notifications, reset your password, etc." +msgstr "" +"Usted actualmente no tiene alguna dirección de correo electrónico asociada, " +"sugerimos que añadas tu cuenta para poder recibir notificaciones, " +"restablecer su contraseña, etc." + +#: temii/templates/account/email.html:51 +msgid "Add E-mail Address" +msgstr "Adicionar dirección de correo electrónico" + +#: temii/templates/account/email.html:56 +msgid "Add E-mail" +msgstr "Adicionar correo electrónico" + +#: temii/templates/account/email.html:66 +msgid "Do you really want to remove the selected e-mail address?" +msgstr "" +"¿Realmente desea eliminar la dirección de correo electrónica seleccionada?" + +#: temii/templates/account/email_confirm.html:6 +#: temii/templates/account/email_confirm.html:10 +msgid "Confirm E-mail Address" +msgstr "Confirmar dirección de correo electrónico" + +#: temii/templates/account/email_confirm.html:16 +#, python-format +msgid "" +"Please confirm that %(email)s is an e-mail " +"address for user %(user_display)s." +msgstr "" +"Por favor confirme que %(email)s es una " +"dirección de correo valida para el usuario %(user_display)s." + +#: temii/templates/account/email_confirm.html:20 +msgid "Confirm" +msgstr "Confirmar" + +#: temii/templates/account/email_confirm.html:27 +#, python-format +msgid "" +"This e-mail confirmation link expired or is invalid. Please issue a new e-mail confirmation request." +msgstr "" +"Este enlace de confirmación de correo electrónico expiro o es invalido. Por " +"favor solicite una nueva confirmación de correo " +"electrónico." + +#: temii/templates/account/login.html:7 temii/templates/account/login.html:11 +#: temii/templates/account/login.html:56 temii/templates/base.html:76 +msgid "Sign In" +msgstr "Iniciar sesión" + +#: temii/templates/account/login.html:17 +msgid "Please sign in with one of your existing third party accounts:" +msgstr "" +"Por favor inicie sesión con alguna de sus cuentas existente de terceros:" + +#: temii/templates/account/login.html:19 +#, python-format +msgid "" +"Or, sign up for a %(site_name)s account and " +"sign in below:" +msgstr "" +"O, registrese para una nueva cuenta en " +"%(site_name)s a continuación:" + +#: temii/templates/account/login.html:32 +#: venv/lib/python3.10/site-packages/django/utils/text.py:254 +msgid "or" +msgstr "o" + +#: temii/templates/account/login.html:41 +#, python-format +msgid "" +"If you have not created an account yet, then please sign up first." +msgstr "" +"Si no has creado tu cuenta aún, por favor registrate." + +#: temii/templates/account/login.html:55 +msgid "Forgot Password?" +msgstr "Olvido su contraseña?" + +#: temii/templates/account/logout.html:5 temii/templates/account/logout.html:8 +#: temii/templates/account/logout.html:17 temii/templates/base.html:65 +msgid "Sign Out" +msgstr "Salir" + +#: temii/templates/account/logout.html:10 +msgid "Are you sure you want to sign out?" +msgstr "¿Estás seguro que deseas salir?" + +#: temii/templates/account/password_change.html:6 +#: temii/templates/account/password_change.html:9 +#: temii/templates/account/password_change.html:14 +#: temii/templates/account/password_reset_from_key.html:5 +#: temii/templates/account/password_reset_from_key.html:8 +#: temii/templates/account/password_reset_from_key_done.html:4 +#: temii/templates/account/password_reset_from_key_done.html:7 +msgid "Change Password" +msgstr "Cambiar contraseña" + +#: temii/templates/account/password_reset.html:7 +#: temii/templates/account/password_reset.html:11 +#: temii/templates/account/password_reset_done.html:6 +#: temii/templates/account/password_reset_done.html:9 +msgid "Password Reset" +msgstr "Restablecer contraseña" + +#: temii/templates/account/password_reset.html:16 +msgid "" +"Forgotten your password? Enter your e-mail address below, and we'll send you " +"an e-mail allowing you to reset it." +msgstr "" +"¿Olvido su contraseña?, Ingrese su dirección de correo electrónico a " +"continuación, y le estaremos enviando un enlace para restablecerla." + +#: temii/templates/account/password_reset.html:21 +msgid "Reset My Password" +msgstr "Restablecer mi contraseña" + +#: temii/templates/account/password_reset.html:24 +msgid "Please contact us if you have any trouble resetting your password." +msgstr "" +"Si tiene alguna dificultad para restablecer su contraseña, por favor " +"contáctenos." + +#: temii/templates/account/password_reset_done.html:15 +msgid "" +"We have sent you an e-mail. Please contact us if you do not receive it " +"within a few minutes." +msgstr "" + +#: temii/templates/account/password_reset_from_key.html:8 +msgid "Bad Token" +msgstr "" + +#: temii/templates/account/password_reset_from_key.html:12 +#, python-format +msgid "" +"The password reset link was invalid, possibly because it has already been " +"used. Please request a new password reset." +msgstr "" + +#: temii/templates/account/password_reset_from_key.html:18 +msgid "change password" +msgstr "Cambiar contraseña" + +#: temii/templates/account/password_reset_from_key.html:21 +#: temii/templates/account/password_reset_from_key_done.html:8 +msgid "Your password is now changed." +msgstr "" + +#: temii/templates/account/password_set.html:6 +#: temii/templates/account/password_set.html:9 +#: temii/templates/account/password_set.html:14 +msgid "Set Password" +msgstr "" + +#: temii/templates/account/signup.html:6 +msgid "Signup" +msgstr "" + +#: temii/templates/account/signup.html:9 temii/templates/account/signup.html:19 +#: temii/templates/base.html:71 +msgid "Sign Up" +msgstr "" + +#: temii/templates/account/signup.html:11 +#, python-format +msgid "" +"Already have an account? Then please sign in." +msgstr "" + +#: temii/templates/account/signup_closed.html:5 +#: temii/templates/account/signup_closed.html:8 +msgid "Sign Up Closed" +msgstr "" + +#: temii/templates/account/signup_closed.html:10 +msgid "We are sorry, but the sign up is currently closed." +msgstr "" + +#: temii/templates/account/verification_sent.html:5 +#: temii/templates/account/verification_sent.html:8 +#: temii/templates/account/verified_email_required.html:5 +#: temii/templates/account/verified_email_required.html:8 +msgid "Verify Your E-mail Address" +msgstr "Verificar su dirección de correo electrónico" + +#: temii/templates/account/verification_sent.html:10 +msgid "" +"We have sent an e-mail to you for verification. Follow the link provided to " +"finalize the signup process. Please contact us if you do not receive it " +"within a few minutes." +msgstr "" + +#: temii/templates/account/verified_email_required.html:12 +msgid "" +"This part of the site requires us to verify that\n" +"you are who you claim to be. For this purpose, we require that you\n" +"verify ownership of your e-mail address. " +msgstr "" + +#: temii/templates/account/verified_email_required.html:16 +msgid "" +"We have sent an e-mail to you for\n" +"verification. Please click on the link inside this e-mail. Please\n" +"contact us if you do not receive it within a few minutes." +msgstr "" + +#: temii/templates/account/verified_email_required.html:20 +#, python-format +msgid "" +"Note: you can still change your e-" +"mail address." +msgstr "" + +#: temii/templates/base.html:61 +msgid "My Profile" +msgstr "Mi perfil" + +#: temii/templates/users/user_detail.html:17 temii/users/forms.py:37 +#: temii/users/models.py:23 +msgid "Bio" +msgstr "Biografia" + +#: temii/templates/users/user_detail.html:20 temii/users/forms.py:36 +#: temii/users/models.py:22 +msgid "Phone" +msgstr "Telefono" + +#: temii/templates/users/user_detail.html:30 +msgid "Update" +msgstr "Actualizar" + +#: temii/templates/users/user_detail.html:31 +msgid "E-Mail" +msgstr "Coreo electrónico" + +#: temii/templates/users/user_form.html:13 +msgid "Save" +msgstr "Guardar" + +#: temii/users/admin.py:17 +msgid "Personal info" +msgstr "Información personal" + +#: temii/users/admin.py:19 +msgid "Permissions" +msgstr "Permisos" + +#: temii/users/admin.py:30 +msgid "Important dates" +msgstr "" + +#: temii/users/apps.py:7 +msgid "Users" +msgstr "" + +#: temii/users/forms.py:25 temii/users/tests/test_forms.py:36 +msgid "This username has already been taken." +msgstr "" + +#: temii/users/forms.py:38 +#: venv/lib/python3.10/site-packages/django/db/models/fields/files.py:393 +msgid "Image" +msgstr "Imagen" + +#: temii/users/models.py:19 +msgid "Name of User" +msgstr "Nombre" + +#: temii/users/views.py:23 +msgid "Information successfully updated" +msgstr "Información guardada con exito" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:420 +msgid "open('foo" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:424 +msgid "open(\"foo" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:428 +#, python-format +msgid "%ls foo" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:563 +msgid "a[0]." +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:570 +msgid "a[0].r" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:578 +msgid "a[0].from_" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:585 +msgid "assert str.star" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:592 +msgid "d['a b'].str" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1552 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1574 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1577 +msgid "do not suppress" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1553 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1565 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1568 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1571 +msgid "suppress all" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1554 +msgid "suppress all but a" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1555 +msgid "suppress all but c" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1603 +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1606 +msgid "---" +msgstr "" + +#: venv/lib/python3.10/site-packages/IPython/core/tests/test_completer.py:1609 +msgid "--" +msgstr "" + +#: venv/lib/python3.10/site-packages/_pytest/config/argparsing.py:474 +#, python-format +msgid "ambiguous option: %(option)s could match %(matches)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/alabaster/layout.html:98 +msgid "Page source" +msgstr "" + +#: venv/lib/python3.10/site-packages/alabaster/navigation.html:1 +msgid "Navigation" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/_termui_impl.py:496 +#, python-brace-format +msgid "{editor}: Editing failed" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/_termui_impl.py:500 +#, python-brace-format +msgid "{editor}: Editing failed: {e}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1097 +msgid "Aborted!" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1282 +#: venv/lib/python3.10/site-packages/click/decorators.py:495 +msgid "Show this message and exit." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1313 +#: venv/lib/python3.10/site-packages/click/core.py:1339 +#, python-brace-format +msgid "(Deprecated) {text}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1357 +msgid "Options" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1383 +#, python-brace-format +msgid "Got unexpected extra argument ({args})" +msgid_plural "Got unexpected extra arguments ({args})" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/core.py:1399 +msgid "DeprecationWarning: The command {name!r} is deprecated." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1605 +msgid "Commands" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1637 +msgid "Missing command." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:1715 +msgid "No such command {name!r}." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:2271 +msgid "Value must be an iterable." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:2291 +#, python-brace-format +msgid "Takes {nargs} values but 1 was given." +msgid_plural "Takes {nargs} values but {len} were given." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/core.py:2734 +#, python-brace-format +msgid "env var: {var}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:2764 +msgid "(dynamic)" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:2777 +#, python-brace-format +msgid "default: {default}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/core.py:2790 +msgid "required" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/decorators.py:400 +#, python-format +msgid "%(prog)s, version %(version)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/decorators.py:464 +msgid "Show the version and exit." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:43 +#: venv/lib/python3.10/site-packages/click/exceptions.py:79 +#, python-brace-format +msgid "Error: {message}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:71 +#, python-brace-format +msgid "Try '{command} {option}' for help." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:120 +#, python-brace-format +msgid "Invalid value: {message}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:122 +#, python-brace-format +msgid "Invalid value for {param_hint}: {message}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:178 +msgid "Missing argument" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:180 +msgid "Missing option" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:182 +msgid "Missing parameter" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:184 +#, python-brace-format +msgid "Missing {param_type}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:191 +#, python-brace-format +msgid "Missing parameter: {param_name}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:211 +#, python-brace-format +msgid "No such option: {name}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:223 +#, python-brace-format +msgid "Did you mean {possibility}?" +msgid_plural "(Possible options: {possibilities})" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:261 +msgid "unknown error" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/exceptions.py:268 +msgid "Could not open file {filename!r}: {message}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/parser.py:231 +msgid "Argument {name!r} takes {nargs} values." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/parser.py:413 +msgid "Option {name!r} does not take a value." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/parser.py:474 +msgid "Option {name!r} requires an argument." +msgid_plural "Option {name!r} requires {nargs} arguments." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/shell_completion.py:316 +msgid "Shell completion is not supported for Bash versions older than 4.4." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/shell_completion.py:322 +msgid "Couldn't detect Bash version, shell completion is not supported." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:160 +msgid "Repeat for confirmation" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:176 +msgid "Error: The value you entered was invalid." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:178 +#, python-brace-format +msgid "Error: {e.message}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:189 +msgid "Error: The two entered values do not match." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:245 +msgid "Error: invalid input" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/termui.py:776 +msgid "Press any key to continue..." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:265 +#, python-brace-format +msgid "" +"Choose from:\n" +"\t{choices}" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:297 +msgid "{value!r} is not {choice}." +msgid_plural "{value!r} is not one of {choices}." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/types.py:387 +msgid "{value!r} does not match the format {format}." +msgid_plural "{value!r} does not match the formats {formats}." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/click/types.py:409 +msgid "{value!r} is not a valid {number_type}." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:465 +#, python-brace-format +msgid "{value} is not in the range {range}." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:606 +msgid "{value!r} is not a valid boolean." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:630 +msgid "{value!r} is not a valid UUID." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:811 +msgid "file" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:813 +msgid "directory" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:815 +msgid "path" +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:861 +msgid "{name} {filename!r} does not exist." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:870 +msgid "{name} {filename!r} is a file." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:878 +#, python-brace-format +msgid "{name} '{filename}' is a directory." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:887 +msgid "{name} {filename!r} is not readable." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:896 +msgid "{name} {filename!r} is not writable." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:905 +msgid "{name} {filename!r} is not executable." +msgstr "" + +#: venv/lib/python3.10/site-packages/click/types.py:972 +#, python-brace-format +msgid "{len_type} values are required, but {len_value} was given." +msgid_plural "{len_type} values are required, but {len_value} were given." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/contrib/messages/apps.py:15 +msgid "Messages" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/contrib/sitemaps/apps.py:8 +msgid "Site Maps" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/contrib/staticfiles/apps.py:9 +msgid "Static Files" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/contrib/syndication/apps.py:7 +msgid "Syndication" +msgstr "" + +#. Translators: String used to replace omitted page numbers in elided page +#. range generated by paginators, e.g. [1, 2, '…', 5, 6, 7, '…', 9, 10]. +#: venv/lib/python3.10/site-packages/django/core/paginator.py:30 +msgid "…" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/paginator.py:50 +msgid "That page number is not an integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/paginator.py:52 +msgid "That page number is less than 1" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/paginator.py:54 +msgid "That page contains no results" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:22 +msgid "Enter a valid value." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:104 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:749 +msgid "Enter a valid URL." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:164 +msgid "Enter a valid integer." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:175 +msgid "Enter a valid email address." +msgstr "" + +#. Translators: "letters" means latin letters: a-z and A-Z. +#: venv/lib/python3.10/site-packages/django/core/validators.py:256 +msgid "" +"Enter a valid “slug” consisting of letters, numbers, underscores or hyphens." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:264 +msgid "" +"Enter a valid “slug” consisting of Unicode letters, numbers, underscores, or " +"hyphens." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:276 +#: venv/lib/python3.10/site-packages/django/core/validators.py:284 +#: venv/lib/python3.10/site-packages/django/core/validators.py:313 +msgid "Enter a valid IPv4 address." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:293 +#: venv/lib/python3.10/site-packages/django/core/validators.py:314 +msgid "Enter a valid IPv6 address." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:305 +#: venv/lib/python3.10/site-packages/django/core/validators.py:312 +msgid "Enter a valid IPv4 or IPv6 address." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:348 +msgid "Enter only digits separated by commas." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:354 +#, python-format +msgid "Ensure this value is %(limit_value)s (it is %(show_value)s)." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:389 +#, python-format +msgid "Ensure this value is less than or equal to %(limit_value)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:398 +#, python-format +msgid "Ensure this value is greater than or equal to %(limit_value)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:407 +#, python-format +msgid "Ensure this value is a multiple of step size %(limit_value)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:417 +#, python-format +msgid "" +"Ensure this value has at least %(limit_value)d character (it has " +"%(show_value)d)." +msgid_plural "" +"Ensure this value has at least %(limit_value)d characters (it has " +"%(show_value)d)." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:435 +#, python-format +msgid "" +"Ensure this value has at most %(limit_value)d character (it has " +"%(show_value)d)." +msgid_plural "" +"Ensure this value has at most %(limit_value)d characters (it has " +"%(show_value)d)." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:458 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:347 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:386 +msgid "Enter a number." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:460 +#, python-format +msgid "Ensure that there are no more than %(max)s digit in total." +msgid_plural "Ensure that there are no more than %(max)s digits in total." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:465 +#, python-format +msgid "Ensure that there are no more than %(max)s decimal place." +msgid_plural "Ensure that there are no more than %(max)s decimal places." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:470 +#, python-format +msgid "" +"Ensure that there are no more than %(max)s digit before the decimal point." +msgid_plural "" +"Ensure that there are no more than %(max)s digits before the decimal point." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:541 +#, python-format +msgid "" +"File extension “%(extension)s” is not allowed. Allowed extensions are: " +"%(allowed_extensions)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/core/validators.py:602 +msgid "Null characters are not allowed." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/base.py:1423 +#: venv/lib/python3.10/site-packages/django/forms/models.py:893 +msgid "and" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/base.py:1425 +#, python-format +msgid "%(model_name)s with this %(field_labels)s already exists." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/constraints.py:17 +#, python-format +msgid "Constraint “%(name)s” is violated." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:128 +#, python-format +msgid "Value %(value)r is not a valid choice." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:129 +msgid "This field cannot be null." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:130 +msgid "This field cannot be blank." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:131 +#, python-format +msgid "%(model_name)s with this %(field_label)s already exists." +msgstr "" + +#. Translators: The 'lookup_type' is one of 'date', 'year' or +#. 'month'. Eg: "Title must be unique for pub_date year" +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:135 +#, python-format +msgid "" +"%(field_label)s must be unique for %(date_field_label)s %(lookup_type)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:173 +#, python-format +msgid "Field of type: %(field_type)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1094 +#, python-format +msgid "“%(value)s” value must be either True or False." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1095 +#, python-format +msgid "“%(value)s” value must be either True, False, or None." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1097 +msgid "Boolean (Either True or False)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1147 +#, python-format +msgid "String (up to %(max_length)s)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1149 +msgid "String (unlimited)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1253 +msgid "Comma-separated integers" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1354 +#, python-format +msgid "" +"“%(value)s” value has an invalid date format. It must be in YYYY-MM-DD " +"format." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1358 +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1493 +#, python-format +msgid "" +"“%(value)s” value has the correct format (YYYY-MM-DD) but it is an invalid " +"date." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1362 +msgid "Date (without time)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1489 +#, python-format +msgid "" +"“%(value)s” value has an invalid format. It must be in YYYY-MM-DD HH:MM[:ss[." +"uuuuuu]][TZ] format." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1497 +#, python-format +msgid "" +"“%(value)s” value has the correct format (YYYY-MM-DD HH:MM[:ss[.uuuuuu]]" +"[TZ]) but it is an invalid date/time." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1502 +msgid "Date (with time)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1626 +#, python-format +msgid "“%(value)s” value must be a decimal number." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1628 +msgid "Decimal number" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1791 +#, python-format +msgid "" +"“%(value)s” value has an invalid format. It must be in [DD] [[HH:]MM:]ss[." +"uuuuuu] format." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1795 +msgid "Duration" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1847 +msgid "Email address" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1872 +msgid "File path" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1950 +#, python-format +msgid "“%(value)s” value must be a float." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1952 +msgid "Floating point number" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1992 +#, python-format +msgid "“%(value)s” value must be an integer." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1994 +msgid "Integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2090 +msgid "Big (8 byte) integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2107 +msgid "Small integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2115 +#, fuzzy +msgid "IPv4 address" +msgstr "Adicionar dirección de correo electrónico" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2146 +#, fuzzy +msgid "IP address" +msgstr "Adicionar dirección de correo electrónico" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2239 +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2240 +#, python-format +msgid "“%(value)s” value must be either None, True or False." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2242 +msgid "Boolean (Either True, False or None)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2293 +msgid "Positive big integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2308 +msgid "Positive integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2323 +msgid "Positive small integer" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2339 +#, python-format +msgid "Slug (up to %(max_length)s)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2375 +msgid "Text" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2450 +#, python-format +msgid "" +"“%(value)s” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] " +"format." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2454 +#, python-format +msgid "" +"“%(value)s” value has the correct format (HH:MM[:ss[.uuuuuu]]) but it is an " +"invalid time." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2458 +msgid "Time" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2566 +#, fuzzy +msgid "URL" +msgstr "" +"Este enlace de confirmación de correo electrónico expiro o es invalido. Por " +"favor solicite una nueva confirmación de correo " +"electrónico." + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2590 +msgid "Raw binary data" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2655 +#, python-format +msgid "“%(value)s” is not a valid UUID." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:2657 +msgid "Universally unique identifier" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/files.py:232 +msgid "File" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/json.py:26 +msgid "A JSON object" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/json.py:28 +msgid "Value must be valid JSON." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:919 +#, python-format +msgid "%(model)s instance with %(field)s %(value)r does not exist." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:921 +msgid "Foreign Key (type determined by related field)" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:1212 +msgid "One-to-one relationship" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:1269 +#, python-format +msgid "%(from)s-%(to)s relationship" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:1271 +#, python-format +msgid "%(from)s-%(to)s relationships" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/db/models/fields/related.py:1319 +msgid "Many-to-many relationship" +msgstr "" + +#. Translators: If found as last label character, these punctuation +#. characters will prevent the default label_suffix to be appended to the label +#: venv/lib/python3.10/site-packages/django/forms/boundfield.py:184 +msgid ":?.!" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:91 +msgid "This field is required." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:298 +msgid "Enter a whole number." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:467 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1238 +msgid "Enter a valid date." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:490 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1239 +msgid "Enter a valid time." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:517 +msgid "Enter a valid date/time." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:551 +msgid "Enter a valid duration." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:552 +#, python-brace-format +msgid "The number of days must be between {min_days} and {max_days}." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:618 +msgid "No file was submitted. Check the encoding type on the form." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:619 +msgid "No file was submitted." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:620 +msgid "The submitted file is empty." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:622 +#, python-format +msgid "Ensure this filename has at most %(max)d character (it has %(length)d)." +msgid_plural "" +"Ensure this filename has at most %(max)d characters (it has %(length)d)." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:627 +msgid "Please either submit a file or check the clear checkbox, not both." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:691 +msgid "" +"Upload a valid image. The file you uploaded was either not an image or a " +"corrupted image." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:854 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:946 +#: venv/lib/python3.10/site-packages/django/forms/models.py:1566 +#, python-format +msgid "Select a valid choice. %(value)s is not one of the available choices." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:948 +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1067 +#: venv/lib/python3.10/site-packages/django/forms/models.py:1564 +msgid "Enter a list of values." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1068 +msgid "Enter a complete value." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1307 +msgid "Enter a valid UUID." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/fields.py:1337 +msgid "Enter a valid JSON." +msgstr "" + +#. Translators: This is the default suffix added to form field labels +#: venv/lib/python3.10/site-packages/django/forms/forms.py:98 +msgid ":" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/forms.py:244 +#: venv/lib/python3.10/site-packages/django/forms/forms.py:328 +#, python-format +msgid "(Hidden field %(name)s) %(error)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:63 +#, python-format +msgid "" +"ManagementForm data is missing or has been tampered with. Missing fields: " +"%(field_names)s. You may need to file a bug report if the issue persists." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:67 +#, python-format +msgid "Please submit at most %(num)d form." +msgid_plural "Please submit at most %(num)d forms." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:72 +#, python-format +msgid "Please submit at least %(num)d form." +msgid_plural "Please submit at least %(num)d forms." +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:484 +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:491 +msgid "Order" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/formsets.py:499 +msgid "Delete" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:886 +#, python-format +msgid "Please correct the duplicate data for %(field)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:891 +#, python-format +msgid "Please correct the duplicate data for %(field)s, which must be unique." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:898 +#, python-format +msgid "" +"Please correct the duplicate data for %(field_name)s which must be unique " +"for the %(lookup)s in %(date_field)s." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:907 +msgid "Please correct the duplicate values below." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:1338 +msgid "The inline value did not match the parent instance." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:1429 +msgid "Select a valid choice. That choice is not one of the available choices." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/models.py:1568 +#, python-format +msgid "“%(pk)s” is not a valid value." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/utils.py:226 +#, python-format +msgid "" +"%(datetime)s couldn’t be interpreted in time zone %(current_timezone)s; it " +"may be ambiguous or it may not exist." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:463 +msgid "Clear" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:464 +msgid "Currently" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:465 +msgid "Change" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:794 +msgid "Unknown" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:795 +msgid "Yes" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/forms/widgets.py:796 +msgid "No" +msgstr "" + +#. Translators: Please do not add spaces around commas. +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:861 +msgid "yes,no,maybe" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:891 +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:908 +#, python-format +msgid "%(size)d byte" +msgid_plural "%(size)d bytes" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:910 +#, python-format +msgid "%s KB" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:912 +#, python-format +msgid "%s MB" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:914 +#, python-format +msgid "%s GB" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:916 +#, python-format +msgid "%s TB" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/template/defaultfilters.py:918 +#, python-format +msgid "%s PB" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:73 +msgid "p.m." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:74 +msgid "a.m." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:79 +msgid "PM" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:80 +msgid "AM" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:152 +msgid "midnight" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dateformat.py:154 +msgid "noon" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:7 +#: venv/lib/python3.10/site-packages/tornado/locale.py:295 +msgid "Monday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:8 +#: venv/lib/python3.10/site-packages/tornado/locale.py:296 +msgid "Tuesday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:9 +#: venv/lib/python3.10/site-packages/tornado/locale.py:297 +msgid "Wednesday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:10 +#: venv/lib/python3.10/site-packages/tornado/locale.py:298 +msgid "Thursday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:11 +#: venv/lib/python3.10/site-packages/tornado/locale.py:299 +msgid "Friday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:12 +#: venv/lib/python3.10/site-packages/tornado/locale.py:300 +msgid "Saturday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:13 +#: venv/lib/python3.10/site-packages/tornado/locale.py:301 +msgid "Sunday" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:16 +msgid "Mon" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:17 +msgid "Tue" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:18 +msgid "Wed" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:19 +msgid "Thu" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:20 +msgid "Fri" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:21 +msgid "Sat" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:22 +msgid "Sun" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:25 +#: venv/lib/python3.10/site-packages/tornado/locale.py:281 +msgid "January" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:26 +#: venv/lib/python3.10/site-packages/tornado/locale.py:282 +msgid "February" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:27 +#: venv/lib/python3.10/site-packages/tornado/locale.py:283 +msgid "March" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:28 +#: venv/lib/python3.10/site-packages/tornado/locale.py:284 +msgid "April" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:29 +#: venv/lib/python3.10/site-packages/tornado/locale.py:285 +msgid "May" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:30 +#: venv/lib/python3.10/site-packages/tornado/locale.py:286 +msgid "June" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:31 +#: venv/lib/python3.10/site-packages/tornado/locale.py:287 +msgid "July" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:32 +#: venv/lib/python3.10/site-packages/tornado/locale.py:288 +msgid "August" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:33 +#: venv/lib/python3.10/site-packages/tornado/locale.py:289 +msgid "September" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:34 +#: venv/lib/python3.10/site-packages/tornado/locale.py:290 +msgid "October" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:35 +#: venv/lib/python3.10/site-packages/tornado/locale.py:291 +msgid "November" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:36 +#: venv/lib/python3.10/site-packages/tornado/locale.py:292 +msgid "December" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:39 +msgid "jan" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:40 +msgid "feb" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:41 +msgid "mar" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:42 +msgid "apr" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:43 +msgid "may" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:44 +msgid "jun" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:45 +msgid "jul" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:46 +msgid "aug" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:47 +msgid "sep" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:48 +msgid "oct" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:49 +msgid "nov" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:50 +msgid "dec" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:53 +msgctxt "abbrev. month" +msgid "Jan." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:54 +msgctxt "abbrev. month" +msgid "Feb." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:55 +msgctxt "abbrev. month" +msgid "March" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:56 +msgctxt "abbrev. month" +msgid "April" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:57 +msgctxt "abbrev. month" +msgid "May" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:58 +msgctxt "abbrev. month" +msgid "June" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:59 +msgctxt "abbrev. month" +msgid "July" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:60 +msgctxt "abbrev. month" +msgid "Aug." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:61 +msgctxt "abbrev. month" +msgid "Sept." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:62 +msgctxt "abbrev. month" +msgid "Oct." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:63 +msgctxt "abbrev. month" +msgid "Nov." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:64 +msgctxt "abbrev. month" +msgid "Dec." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:67 +msgctxt "alt. month" +msgid "January" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:68 +msgctxt "alt. month" +msgid "February" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:69 +msgctxt "alt. month" +msgid "March" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:70 +msgctxt "alt. month" +msgid "April" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:71 +msgctxt "alt. month" +msgid "May" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:72 +msgctxt "alt. month" +msgid "June" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:73 +msgctxt "alt. month" +msgid "July" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:74 +msgctxt "alt. month" +msgid "August" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:75 +msgctxt "alt. month" +msgid "September" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:76 +msgctxt "alt. month" +msgid "October" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:77 +msgctxt "alt. month" +msgid "November" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/dates.py:78 +msgctxt "alt. month" +msgid "December" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/ipv6.py:8 +msgid "This is not a valid IPv6 address." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/text.py:78 +#, python-format +msgctxt "String to return when truncating text" +msgid "%(truncated_text)s…" +msgstr "" + +#. Translators: This string is used as a separator between list elements +#: venv/lib/python3.10/site-packages/django/utils/text.py:273 +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:135 +msgid ", " +msgstr "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:8 +#, python-format +msgid "%(num)d year" +msgid_plural "%(num)d years" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:9 +#, python-format +msgid "%(num)d month" +msgid_plural "%(num)d months" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:10 +#, python-format +msgid "%(num)d week" +msgid_plural "%(num)d weeks" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:11 +#, python-format +msgid "%(num)d day" +msgid_plural "%(num)d days" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:12 +#, python-format +msgid "%(num)d hour" +msgid_plural "%(num)d hours" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/utils/timesince.py:13 +#, python-format +msgid "%(num)d minute" +msgid_plural "%(num)d minutes" +msgstr[0] "" +msgstr[1] "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:111 +msgid "Forbidden" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:112 +msgid "CSRF verification failed. Request aborted." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:116 +msgid "" +"You are seeing this message because this HTTPS site requires a “Referer " +"header” to be sent by your web browser, but none was sent. This header is " +"required for security reasons, to ensure that your browser is not being " +"hijacked by third parties." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:122 +msgid "" +"If you have configured your browser to disable “Referer” headers, please re-" +"enable them, at least for this site, or for HTTPS connections, or for “same-" +"origin” requests." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:127 +msgid "" +"If you are using the tag or " +"including the “Referrer-Policy: no-referrer” header, please remove them. The " +"CSRF protection requires the “Referer” header to do strict referer checking. " +"If you’re concerned about privacy, use alternatives like for links to third-party sites." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:136 +msgid "" +"You are seeing this message because this site requires a CSRF cookie when " +"submitting forms. This cookie is required for security reasons, to ensure " +"that your browser is not being hijacked by third parties." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:142 +msgid "" +"If you have configured your browser to disable cookies, please re-enable " +"them, at least for this site, or for “same-origin” requests." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/csrf.py:148 +msgid "More information is available with DEBUG=True." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:44 +msgid "No year specified" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:64 +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:115 +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:214 +msgid "Date out of range" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:94 +msgid "No month specified" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:147 +msgid "No day specified" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:194 +msgid "No week specified" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:349 +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:380 +#, python-format +msgid "No %(verbose_name_plural)s available" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:652 +#, python-format +msgid "" +"Future %(verbose_name_plural)s not available because %(class_name)s." +"allow_future is False." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/dates.py:692 +#, python-format +msgid "Invalid date string “%(datestr)s” given format “%(format)s”" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/detail.py:56 +#, python-format +msgid "No %(verbose_name)s found matching the query" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/list.py:70 +msgid "Page is not “last”, nor can it be converted to an int." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/list.py:77 +#, python-format +msgid "Invalid page (%(page_number)s): %(message)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/generic/list.py:169 +#, python-format +msgid "Empty list and “%(class_name)s.allow_empty” is False." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/static.py:38 +msgid "Directory indexes are not allowed here." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/static.py:40 +#, python-format +msgid "“%(path)s” does not exist" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/static.py:79 +#, python-format +msgid "Index of %(directory)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:7 +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:221 +msgid "The install worked successfully! Congratulations!" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:207 +#, python-format +msgid "" +"View release notes for Django %(version)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:222 +#, python-format +msgid "" +"You are seeing this page because DEBUG=True is in your settings file and you have not " +"configured any URLs." +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:230 +msgid "Django Documentation" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:231 +msgid "Topics, references, & how-to’s" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:239 +msgid "Tutorial: A Polling App" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:240 +msgid "Get started with Django" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:248 +msgid "Django Community" +msgstr "" + +#: venv/lib/python3.10/site-packages/django/views/templates/default_urlconf.html:249 +msgid "Connect, get help, or contribute" +msgstr "" + +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1345 +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1398 +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1402 +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1406 +msgid "No response body" +msgstr "" + +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1370 +#: venv/lib/python3.10/site-packages/drf_spectacular/openapi.py:1422 +msgid "Unspecified response body" +msgstr "" + +#: venv/lib/python3.10/site-packages/drf_spectacular/plumbing.py:458 +#, python-format +msgid "Token-based authentication with required prefix \"%s\"" +msgstr "" + +#: venv/lib/python3.10/site-packages/drf_spectacular/views.py:44 +msgid "" +"\n" +" OpenApi3 schema for this API. Format can be selected via content " +"negotiation.\n" +"\n" +" - YAML: application/vnd.oai.openapi\n" +" - JSON: application/vnd.oai.openapi+json\n" +" " +msgstr "" + +#: venv/lib/python3.10/site-packages/isort/main.py:158 +msgid "show this help message and exit" +msgstr "" + +#: venv/lib/python3.10/site-packages/mypy/main.py:388 +#, python-format +msgid "%(prog)s: error: %(message)s\n" +msgstr "" + +#: venv/lib/python3.10/site-packages/pylint_django/tests/input/func_noerror_gettext_lazy_format.py:7 +#, python-brace-format +msgid "{something}" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:371 +msgid "1 second ago" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:377 +msgid "1 minute ago" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:382 +msgid "1 hour ago" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:385 +#, python-format +msgid "%(time)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:387 +msgid "yesterday" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:387 +#, python-format +msgid "yesterday at %(time)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:389 +#, python-format +msgid "%(weekday)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:389 +#, python-format +msgid "%(weekday)s at %(time)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:392 +#: venv/lib/python3.10/site-packages/tornado/locale.py:445 +#, python-format +msgid "%(month_name)s %(day)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:394 +#, python-format +msgid "%(month_name)s %(day)s at %(time)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:399 +#, python-format +msgid "%(month_name)s %(day)s, %(year)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:401 +#, python-format +msgid "%(month_name)s %(day)s, %(year)s at %(time)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:439 +#, python-format +msgid "%(weekday)s, %(month_name)s %(day)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/locale.py:462 +#, python-format +msgid "%(commas)s and %(last)s" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:68 +msgctxt "law" +msgid "right" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:69 +msgctxt "good" +msgid "right" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:70 +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:72 +msgctxt "organization" +msgid "club" +msgstr "" + +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:74 +#: venv/lib/python3.10/site-packages/tornado/test/locale_test.py:75 +msgctxt "stick" +msgid "club" +msgstr "" diff --git a/temii/templates/users/user_detail.html b/temii/templates/users/user_detail.html index 79b8233..b92f62d 100644 --- a/temii/templates/users/user_detail.html +++ b/temii/templates/users/user_detail.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load static %} +{% load static i18n %} {% block title %}User: {{ object.username }}{% endblock %} @@ -8,11 +8,17 @@
-

{{ object.username }}

+ {% if object.name %}

{{ object.name }}

{% endif %} + {% if object.bio %} +

{% translate "Bio" %}: {{ object.bio }}

+ {% endif %} + {% if object.phone %} +

{% translate "Phone" %}: {{ object.phone }}

+ {% endif %}
@@ -21,8 +27,8 @@

{{ object.username }}

diff --git a/temii/templates/users/user_form.html b/temii/templates/users/user_form.html index 467357a..4932cf8 100644 --- a/temii/templates/users/user_form.html +++ b/temii/templates/users/user_form.html @@ -1,16 +1,16 @@ {% extends "base.html" %} -{% load crispy_forms_tags %} +{% load crispy_forms_tags i18n %} {% block title %}{{ user.username }}{% endblock %} {% block content %}

{{ user.username }}

-
+ {% csrf_token %} {{ form|crispy }}
- +
diff --git a/temii/users/admin.py b/temii/users/admin.py index ea235c5..5e5c05e 100644 --- a/temii/users/admin.py +++ b/temii/users/admin.py @@ -14,7 +14,7 @@ class UserAdmin(auth_admin.UserAdmin): add_form = UserAdminCreationForm fieldsets = ( (None, {"fields": ("username", "password")}), - (_("Personal info"), {"fields": ("name", "email")}), + (_("Personal info"), {"fields": ("name", "email", "phone", "bio", "image")}), ( _("Permissions"), { diff --git a/temii/users/forms.py b/temii/users/forms.py index c0946bf..b3076e2 100644 --- a/temii/users/forms.py +++ b/temii/users/forms.py @@ -1,5 +1,6 @@ from allauth.account.forms import SignupForm from allauth.socialaccount.forms import SignupForm as SocialSignupForm +from django import forms from django.contrib.auth import forms as admin_forms from django.contrib.auth import get_user_model from django.utils.translation import gettext_lazy as _ @@ -32,6 +33,18 @@ class UserSignupForm(SignupForm): Check UserSocialSignupForm for accounts created from social. """ + phone = forms.CharField(max_length=20, label=_("Phone"), required=False) + bio = forms.CharField(max_length=255, label=_("Bio"), required=False) + image = forms.ImageField(label=_("Image"), required=False) + + def save(self, request): + user = super().save(request) + user.phone = self.cleaned_data["phone"] + user.bio = self.cleaned_data["bio"] + user.image = self.cleaned_data["image"] + user.save() + return user + class UserSocialSignupForm(SocialSignupForm): """ diff --git a/temii/users/migrations/0002_user_bio_user_image_user_phone.py b/temii/users/migrations/0002_user_bio_user_image_user_phone.py new file mode 100644 index 0000000..d7e908d --- /dev/null +++ b/temii/users/migrations/0002_user_bio_user_image_user_phone.py @@ -0,0 +1,30 @@ +# Generated by Django 4.1.8 on 2023-08-12 16:41 + +from django.db import migrations, models +import temii.users.models + + +class Migration(migrations.Migration): + dependencies = [ + ("users", "0001_initial"), + ] + + operations = [ + migrations.AddField( + model_name="user", + name="bio", + field=models.CharField(blank=True, max_length=255, verbose_name="Bio"), + ), + migrations.AddField( + model_name="user", + name="image", + field=models.ImageField( + default="default.jpg", upload_to=temii.users.models.upload_to, verbose_name="Image" + ), + ), + migrations.AddField( + model_name="user", + name="phone", + field=models.CharField(blank=True, max_length=50, verbose_name="Phone"), + ), + ] diff --git a/temii/users/models.py b/temii/users/models.py index 376ff22..e06cc9c 100644 --- a/temii/users/models.py +++ b/temii/users/models.py @@ -1,9 +1,13 @@ from django.contrib.auth.models import AbstractUser -from django.db.models import CharField +from django.db.models import CharField, ImageField from django.urls import reverse from django.utils.translation import gettext_lazy as _ +def upload_to(instance, filename): + return f"profile_pics/{instance.username}/{filename}" + + class User(AbstractUser): """ Default custom user model for temii. @@ -15,6 +19,9 @@ class User(AbstractUser): name = CharField(_("Name of User"), blank=True, max_length=255) first_name = None # type: ignore last_name = None # type: ignore + phone = CharField(_("Phone"), blank=True, max_length=50) + bio = CharField(_("Bio"), blank=True, max_length=255) + image = ImageField(_("Image"), default="default.jpg", upload_to=upload_to) def get_absolute_url(self) -> str: """Get URL for user's detail view. diff --git a/temii/users/tests/factories.py b/temii/users/tests/factories.py index 36f9634..9654a73 100644 --- a/temii/users/tests/factories.py +++ b/temii/users/tests/factories.py @@ -2,14 +2,18 @@ from typing import Any from django.contrib.auth import get_user_model -from factory import Faker, post_generation -from factory.django import DjangoModelFactory +from django.core.files.base import ContentFile +from factory import Faker, LazyAttribute, post_generation +from factory.django import DjangoModelFactory, ImageField class UserFactory(DjangoModelFactory): username = Faker("user_name") email = Faker("email") name = Faker("name") + phone = Faker("phone_number") + bio = Faker("text") + image = LazyAttribute(lambda _: ContentFile(ImageField()._make_data({"width": 300, "height": 300}), "example.jpg")) @post_generation def password(self, create: bool, extracted: Sequence[Any], **kwargs): diff --git a/temii/users/views.py b/temii/users/views.py index 5b7bc89..e6cb5af 100644 --- a/temii/users/views.py +++ b/temii/users/views.py @@ -19,7 +19,7 @@ class UserDetailView(LoginRequiredMixin, DetailView): class UserUpdateView(LoginRequiredMixin, SuccessMessageMixin, UpdateView): model = User - fields = ["name"] + fields = ["name", "phone", "bio", "image"] success_message = _("Information successfully updated") def get_success_url(self):