Hi!
I wonder what are pros and cons of explicit import views in urls.py.
There are at least 2 ways of defining urlpatterns.
* explicit import
from . import views
urlspatterns = patterns('',
('а/', views.a),
)
* lazy import
urlspatterns = patterns('path.to.app.views',
('a/', 'a'),
)
The
We are using PDFs.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/EfQeowVhrBoJ.
To post to this group, send email to django-users@googlegroups.com.
To
Hi!
We are using http://PythonReports.sf.net/.
--
Regards,
Alex.
--
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 unsubscribe from this group, send email to
Hi!
We are using TimedRotatingFileHandler with overridden stream with a class
that opens log file for append on every write.
--
Regards,
Alex.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to
I need to make a report with django .
This report supports (chart , export PDF, Excell ...,)
please give me some recommendations with tool i must use for this case.
To produce printable reports, you can try
http://pypi.python.org/pypi/PythonReports/.
--
Regards,
Alexey.
--
You received this
Hi,
try executing
import logging
logger = logging.getLogger('testlogger')
logger.warn('hello')
logger.info('please appear')
in ./manage shell.
--
Alex
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to
On 12.08.2011 16:48, SixDegrees wrote:
Calling wait() on the processes freezes the form page until the process
completes.
The poll() also exists.
You can also start a thread that will wait() for the child. One per child
or one per all of the children.
The other way is to fork() twice as
On 23.07.2011 18:13, dpapathanasiou wrote:
That's interesting, I hadn't thought about using a hidden input for
next in the two login templates.
In the end, though, I went with just one login template.
And rather than use UserProfiles (since there were no additional
attributes I needed to
On 22.07.2011 17:32, dpapathanasiou wrote:
So you're saying: have the function which handles the post-login
request (i.e., defined in with LOGIN_REDIRECT_URL in settings.py and
in urls.py to some corresponding views.py function) make that type
check of user A/B, and simply redirect accordingly?
9 matches
Mail list logo