Supongo está usando django-ckeditor, si es así lo que tiene que hacer es
usar el field que ellos proporcionan.
https://github.com/django-ckeditor/django-ckeditor#field
además recuerde usar {{form.media}} en la plantilla, para que se cargue el
js.
--
You received this message because you are su
I thing Sites framework do something similiar to you problem, so you could
study how is implemented.
https://docs.djangoproject.com/en/1.9/ref/contrib/sites/
El viernes, 15 de abril de 2016, Eduardo Leones <
edua...@ypytecnologia.com.br> escribió:
> Javier, thanks for the answer.
> Very inter
You only need to overwrite the template
https://github.com/divio/djangocms-table/blob/master/djangocms_table/templates/cms/plugins/table.html
Django template engine find the template in the order of INSTALLED_APPS, so
you only need to put an app with your version of
templates/cms/plugins/table.ht
You have a problem here
{% static '/css/base.css' %}
the correct is
{% static 'css/base.css' %}
Also is a bad idea set media folder in static.
take a look here https://docs.djangoproject.com/en/3.1/howto/static-files/
El mié., 14 oct. 2020 a las 23:05, Farai M ()
escribió:
> Why have the
Hi, you can create several web applications with Django. So I guest you can
replace all web stuff with Django or other lib in python for web
development.
El lun, 28 jun 2021 a las 7:17, Krishna Adhikari ()
escribió:
> Hello all my seniors
>
> I am doing Data Science programming (python) for 3 ye
You can create a custom command using this doc
https://docs.djangoproject.com/en/3.1/howto/custom-management-commands/
Now, you can call it like
python manage.py mycustomcommandname
so in Linux environment you can use crontab (with crontab -e) to execute
the command.
El jue, 1 jul 2021 a las
Maybe something like
python manage.py shell -c "from django.contrib.auth.hashers import
make_password;from django.contrib.auth.models import User; admin =
User(username='username', email='exam...@example.com',
password=make_password('password'),
is_superuser=True,is_staff=True);admin.save()"
El
Check your URL.py and append the slash, also take a look of
https://docs.djangoproject.com/en/5.0/ref/settings/#append-slash
El vie, 12 abr 2024 a las 15:40, MISHEL HANNA ()
escribió:
> Hello
> i have endpoint when add / to the end of it i can not send request it
> return this
> Not Found: /api/
See
https://docs.djangoproject.com/en/5.0/topics/class-based-views/#supporting-other-http-methods
Also on view you have a variable called, where you can limit the available
methods.
http_method_names
El vie, 12 abr 2024 a las 7:20, Mamadou Alpha Bah (<
mamadoualphabah...@gmail.com>) escribió:
>
Also a recomendation, see that `dispatch` method call the view as
handler(request, *args, **kwargs)
So maybe is a good idea do something like:
class MyView(view):
def put(self, request, *args, **kwargs):
...
Regards,
El vie, 12 abr 2024 a las 16:13, Luis Zárate ()
escribió
Hi Guys,
Do you know any alternative to django-ajax-selects, I am using it in a
project in django 2.2 but docs says that support <=2.1 and also has some
problems with the version on jquery used, so I am looking something that
help to remplace this lib.
https://github.com/crucialfelix/django-ajax-
Do you configure the "*Less secure app access*" in your gmail account?
https://mailtrap.io/blog/gmail-smtp/
El jue, 5 dic 2024 a las 9:52, George Joseph ()
escribió:
> Hi, Try by creating app password from your g-suite. Thanks and regards.
>
>
> On Thursday, October 31, 2024 at 6:48:46 PM UTC+5
201 - 212 of 212 matches
Mail list logo