Wouldn't it be a good idea for some core dev(s) to be present at EuroPython
and organize a sprint?
Looks like sprints were formally announced last
year: https://ep2013.europython.eu/p3/sprints/
vineri, 7 februarie 2014, 02:13:58 UTC+2, Russell Keith-Magee a scris:
>
> Hi,
>
> Django sprints at
It's a simple question but i'm not able to find easily.
How can I display the file extension of uploaded file in template ?
ex : uploaded-filename.jpeg
{{file.}} will display "jpeg" in template.
--
You received this message because you are subscribed to the Google Groups
"Django users" g
Can someone tell me what are the files goes inside "contrib" folder?
If possible give me a webpage link that explains django's folder structure..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
The short answer is: it depends what OS you're on, and where your Django
package is installed.
On Unix-like systems, it'll be somewhere like
lib/python2.7/site-packages/django/contrib/ (substitute your python
version, obviously). But what goes before 'lib' depends on where your
Python libraries in
On Fri, Feb 7, 2014 at 3:25 PM, Ashish Tiwari wrote:
> It's a simple question but i'm not able to find easily.
> How can I display the file extension of uploaded file in template ?
>
> ex : uploaded-filename.jpeg
> {{file.}} will display "jpeg" in template.
>
There isn't anything builtin t
I get the following error
" Traceback (most recent call last):
File "manage.py", line 2, in
from django.core.management import execute_manager
ImportError: cannot import name execute_manager "
when I run this command : python manage.py runserver, what could be the
problem.
--
You rec
On Fri, Feb 7, 2014 at 10:53 AM, felix kimutai wrote:
> I get the following error
>
> " Traceback (most recent call last):
> File "manage.py", line 2, in
> from django.core.management import execute_manager
> ImportError: cannot import name execute_manager "
>
> when I run this command :
Hi all,
I'm trying to work with translated URL's, but the behavior I'm getting is
not the one I expected.
Part of the code is below:
from django.utils.translation import ugettext_lazy as _
urlpatterns += patterns('',
url(_(r'^help/$'), HelpView.as_view(), name='HelpView'),
I have two models: Thread and EmailThread. As the names suggest the
Thread model relates to threads created via the web interface and the
EmailThread model relates to threads created via email.
I want to display a list of all threads from both models on the same
page and I want to paginate thi
Hello,
I am trying to deploy a new Django website where I am trying to point to
many css, js, image, pdf files, etc. Everything works well in the
development setup.
Basically, I am using a mod-wsgi setup in Apache, and Django version 1.5 on
Ubuntu linux 12.10. The application is served with th
2014-02-07 Giri :
> Can someone tell me what are the files goes inside "contrib" folder?
>
> If possible give me a webpage link that explains django's folder
> structure..
>
> I don't remember whether there is a overall description of the Django
project structure, but at least for the contrib apps
I'm sorry, please disregard this email. I found the answer in the documentation.
On 14-02-07 10:36 AM, Rosemary McCloskey wrote:
Hello,
I am trying to run unit tests on my project, and the DEBUG setting is not being
preserved during the tests. I'm using Django 1.6.1, with Python 2.7.3 on Ubunt
Hello,
I am trying to run unit tests on my project, and the DEBUG setting is not being
preserved during the tests. I'm using Django 1.6.1, with Python 2.7.3 on Ubuntu
12.04.
My settings file looks like this:
DEBUG = True
ADMINS = (
('Rosemary McCloskey', 'rmcclosk.m...@gmail.com')
You need to change the permissions of the static files that the webserver
user could access those.
2014-02-07 18:29 GMT+01:00 :
> Hello,
>
> I am trying to deploy a new Django website where I am trying to point to
> many css, js, image, pdf files, etc. Everything works well in the
> developmen
On Fri, Feb 7, 2014 at 6:02 PM, waverider wrote:
> Wouldn't it be a good idea for some core dev(s) to be present at
> EuroPython and organize a sprint?
> Looks like sprints were formally announced last year:
> https://ep2013.europython.eu/p3/sprints/
>
I wasn't aware EuroPython had such an organ
Hello,
I don't know where you're trying the troublesome reverse but maybe the
following can help.
# myproject.urls
from django.conf.urls import patterns, url
from django.utils.translation import ugettext_lazy as _
from django.conf.urls.i18n import i18n_patterns
from help.views import HelpVi
Hello,
In that case, I would use a filter that
returnos.path.splitext(myfile.path)[1] (the result will be '.jpeg' with
your example).
Regards,
Michel
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop r
17 matches
Mail list logo