application works fine but the
admin does not look the same, I suspect it does not make use of the
admin css files. I am not familiar with Apache but suspect it is a
problem of configuration of the server.
Help most welcome
MS
--~--~-~--~~~---~--~~
You received this
Thanks to Graham and Jeff.
I moved my code out of the document root and used the proper alias to
tell Apache where to find Django's admin.media files.
Problem solved ?
MS
> For mod_wsgi see:
>
> http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
> http://code.goo
ttached just after SessionMiddleware as suggested in
the docs.
The problem is that Django has some problems with it - it sometimes
shows some strings translated and some not. When I browse just one
site/domain everything is OK. But when I open another tab and browse
the other domain (
OK, thanks for suggestion - however it seems the problem was somewhere
else - I was using ugettext where ugettext_lazy was supposed to be
used (ex. in forms.py).
The documentation should be more clear that the choice between
ugettext and ugettext_lazy is quite important and may lead to strange
pr
last_album_id which is completely useless.
So maybe the question should be - can Django create a OneToOneField
without generating a
database index for it?
Regards,
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
y
to write custom SQL queries wich would return dicts instead of tuples?
Or just hacking like in the link above?
Regards
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
ecially that it was in the framework already. Strange...
Regards
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To un
esn't. How can I get
rid of that problem?
Thanks,
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscrib
self, f.name, val[:f.max_length])
oldsave(self, **kwargs)
cls.save = newsave
To use it, write:
autotruncate(MyModel)
Any comments are welcome.
Regards,
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
AIK max_length is required in CharFields.
Regarding other replies - I know it's wrong to truncate data but I
need it in some background/batch processing, so it's not for forms and
user input.
Thanks,
MS
--~--~-~--~~~---~--~~
You received this message because
n addition to) the select input.
Is that possible, and if so - how to achieve that?
Thanks,
MS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
Please add me too
On Mon, Mar 2, 2020 at 12:17 PM amanda wrote:
> I am interesting learn
>
> 在 2020年2月1日星期六 UTC+1下午2:42:52,Srikanth K写道:
>>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends).
12 matches
Mail list logo