Anonymous
There's a model with one attribute witch I defined verbose_name and help_text for it
I made a form.ModelForm using that model
When I translate my code and remder thre form the template shows non translated help text and verbose_name I defined for my model
How can I help you the translations?
Mirco
Lë
Mirco
Lë
thanks
Lë
Lë
Will let u know
Mirco
Anonymous
Anonymous
Anonymous
Admin page is translated too
I didn't expect that
Mirco
Yes
gettext_lazy
And don't you see those fields into your files to translate them ?
Anonymous
Mirco
Mirco
Share your code , it's better to have a look
Anonymous
My code is messy
I don't want to bother
I'll work on it and ask again later
right now I just added the model to admin site and I don't see translations here either
So it's not from modelform
I thought misunderstood something about forms
Anonymous
Or maybe it is from forms and admin site is using ModelForm too?
OUHBOY
I need help am getting a error
“ SMTP server disconnected
Connection unexpectedly closed “
Anonymous
That's not enough information.
OUHBOY
I can’t send the error in my page
mark
its gaining members again haha
George
welcome back, wordpress fans
Bkr11218
Can any one post django daily activities & roles and responsibilities
Yug
Guys what is the best way to preload initial data into your app's sql? Like for example in Liquibase you can migrate your schema changes as well as any initial csv file of the data you want to roll with your app's build
Googlom
Googlom
or post_migrate signal
Googlom
Yug
syedj
Why am i getting AnonymousUser when i print request.user
syedj
I have logged in via login method of django.contrib.auth
syedj
Am i making any mistake
Anonymous
Django 2.2 is out
Puranjay
I was trying to import UserCreationForm in my signup...but when I click submit button it always give me an error "the two password fields didn't match"
Puranjay
Did someone also face the same issue?
R
Puranjay
Yes
I am sure that I entered same passowrds in.both the fields..but don't know why this is giving me an error
R
Puranjay
To see the passwords I changes the type from password to text
Akay
If i make a blog on django and the other on WordPress with sane content then which one ia require more hardware and wich one is faster.. also tell me that if my monthly traffic is 30k then how much resources i need in both of the case like ram, cpu , storage or other things
Mirco
F.
I was wondering, if you created your blog on Django with all the templates and static files, and files that are not 'static', how would something like Django-CMS be able to change the front end of different posts. Aren't all the post supposed to have a relatively uniform template that they build from?
F.
I stumbled on Django CMS quite recently and I want to know if it's worth the research.
Mirco
Mirco
F.
Mirco
Anonymous
I run python manage.py migrate
i get this error.. Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named 'django'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 14, in <module>
) from exc
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
i use mysql to create my project
Mirco
Akay
Mirco
Ronald
Ronald
cause it’s a framework on top of a framework
Ronald
I’m learning Wagtail now for a client project
R
R
Anonymous
Mirco
Ronald
Its
anybody is active i am making a project i really need help i need to submit the project 😰😰😰
Muflone
Its
Mirco
Its
i am getting error while creating user form in latest django
Its
Guillermo
Its
user form not showing
Mirco
user form not showing
Check your urlspattern , you are including signup view not get_name
And your signup view is just a TemplateView
Franger Rodolfo