Nearly all views of an application i'm working on have the same
sidebars with dynamic contents. So i generate these in a custom global
context processor so it is available to any view without having to
specify the custom processor each time.
It turns out that also in admin views the same processor
On Thu, Mar 8, 2012 at 11:12 PM, Mike wrote:
> Hi,
>
> Wondering if the limitation (that a page must be completely built in memory
> before a response is sent) has been rememdied yet.
>
> Last mention I could find seems to be from almost four years ago:
> https://groups.google.com/d/topic/djan
OK. Thanks
If I understand right, than I can add users over that Admin interface.
Over function has_change_permissions I can track whether user is
authenticated.
Over that interface is also for logged/authenticated users, right?
Lets say that user will successfully enter login data as user name
On Fri, 2012-03-09 at 03:42 -0800, Stone wrote:
> W/o authentication web page will be only in read only state.
without authentication he sees nothing.
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
On Mar 9, 9:58 am, Paul wrote:
> Nearly all views of an application i'm working on have the same
> sidebars with dynamic contents. So i generate these in a custom global
> context processor so it is available to any view without having to
> specify the custom processor each time.
This is better
Unfortunately changing that breaks my entire app so none of my views
work anymore.
On Thu, Mar 8, 2012 at 11:34 PM, vikalp sahni wrote:
> Hi,
>
> Here what i can see is you have added a prefix in your pattern,
>
> urlpatterns = patterns('myapp.views',
> url(r'^login/$','django.contrib.auth.views.
Ok, I got my app working with your suggestion. I replaced all my
calls with myapp.views.name and all my views work.
However, I still get an error accessing login. Yes, I've installed it
in my settings.py.
Request Method: GET
Request URL:http://localhost:8000/hcp/login/
Django Version: 1.3.1
Hi,
django templates say, login or registration html template.
Thanks..
---
On Mar 9, 11:21 am, Derek wrote:
> I think you will need to define, or give an example, of what exactly
> you mean
On Fri, Mar 9, 2012 at 2:11 PM, Scott Macri wrote:
> Ok, I got my app working with your suggestion. I replaced all my
> calls with myapp.views.name and all my views work.
>
> However, I still get an error accessing login. Yes, I've installed it
> in my settings.py.
>
> Request Method: GET
> Requ
I have data that looks like this:
formfields = [{'label': u'IP address of hacker', 'type': u'String',
'name': u'locationIp'}, {'label': u'Created end date', 'type':
u'Date', 'name': u'createdEndDate'}, {'label': u'Created start date',
'type': u'Date', 'name': u'createdStartDate'}]
I want to genera
FYI I get the same problem on Ubuntu 10.04 LTS:
Traceback (most recent call last):
File "server/manage.py", line 11, in
execute_manager(settings)
File
"/home/user/.ve_config/myproject/lib/python2.7/site-packages/django/core/management/__init__.py",
line 438, in execute_manager
util
On Fri, Mar 9, 2012 at 3:23 PM, Vishnu vg wrote:
> Hi Friends,
>
> I have a cms based existing django site. I want to translate it to german or
> other language, Please suggest which is the best method?
>
Don't send questions about using django to django-developers@, use
django-users@.
The best
I have a table that is created in a view like this (only the pertinent
parts are shown):
{% for row in page.object_list %}
{% if forloop.first %}
{% for value in row %}
{% if forloop.first %}
{{ value }}
{% e
Finally got it working. The issue was due to the url for the form
method within the example template on the django site. I removed that
and everything works great now. Thanks.
On Fri, Mar 9, 2012 at 9:29 AM, Tom Evans wrote:
> On Fri, Mar 9, 2012 at 2:11 PM, Scott Macri wrote:
>> Ok, I got my
I think I figured it out. My TYPE_MAPPING thing was causing the form
fields to be initialized *once*. So, I made the contents of
TYPE_MAPPING into strings, and I'm using eval().
Unless there's a better way, I'm leaving it like this in
production :-)
On Mar 9, 10:01 am, Steven Smith wrote:
> I
On Fri, Mar 9, 2012 at 4:05 PM, Steven Smith wrote:
> I think I figured it out. My TYPE_MAPPING thing was causing the form
> fields to be initialized *once*. So, I made the contents of
> TYPE_MAPPING into strings, and I'm using eval().
>
> Unless there's a better way, I'm leaving it like this in
>
On Thu, Mar 8, 2012 at 3:42 PM, Joel Goldstick wrote:
> I got no answer from stack exchange. Maybe someone here knows:
>
> Django v1.3
>
> I have a CruiseOffer model related to a model called SpecialInterest.
> I now realize that I have the same exact thing going on in my
> LandOffer model (elsew
My apache2 server on linux is running as www-data. My project is in a
standard user account. apache2 can't access files on the user account
unless I change the user on the user account directory to www-data.
But when I do that, I can't ssh to the account. What is the best way
to set up the accou
On Fri, Mar 9, 2012 at 4:43 PM, j...@jsdey.com wrote:
> My apache2 server on linux is running as www-data. My project is in a
> standard user account. apache2 can't access files on the user account
> unless I change the user on the user account directory to www-data.
> But when I do that, I can'
Hi,
I am using modelformset_factory and I want to show all the ocurrences of
the class Event, but I want to add a field to the fromset. I have this code:
forms.py -
from django import forms
from django.forms.formsets import BaseFormSet
class ExtendeEve
Being new to django I am having trouble getting the built in views to
work. After several hours I finally got the login/logout views to
work, now I am not able to get the profile, or any other built in
views working. I am attempting to configure the change_password view.
I have a custom urls.py
Thank you, I'll give it a try.
P.S. My email address seems to be embedded in the text ... is that
normal? I really don't want that. Just a matter of time until the
spammers get a hold of it. Any chance I could delete this thread?
--
You received this message because you are subscribed to t
I like it. Thanks, Tom!
On Mar 9, 11:19 am, Tom Evans wrote:
> On Fri, Mar 9, 2012 at 4:05 PM, Steven Smith wrote:
> > I think I figured it out. My TYPE_MAPPING thing was causing the form
> > fields to be initialized *once*. So, I made the contents of
> > TYPE_MAPPING into strings, and I'm usi
Mike,
Your email won't show up as long as you aren't logged in. I'm not saying
that it's full-proof, a bot could easily run around logged in to a Google
account, but it greatly reduces the chances (I've never had an issue).
Just to add on to Tom's statement concerning the Middleware, one specif
Hmm, I was able to see my address before logging in, but looking in the
source couldn't find it. Perhaps generated by javascript? Also I don't
see it in your reply, so maybe Tom pasted it in?
I do use the gzip middleware and it doesn't look like there is an easy way
to disable it per view. I
On Fri, Mar 9, 2012 at 8:34 PM, Mike wrote:
> Hmm, I was able to see my address before logging in, but looking in the
> source couldn't find it. Perhaps generated by javascript? Also I don't see
> it in your reply, so maybe Tom pasted it in?
>
Most mailers will automatically quote the person th
Having a particularly weird problem to track down related to
internationalization, and RequestFactory vs. TestClient for testing
views.
If I run:
./manage.py test
All tests pass successfully. If I run:
./manage.py test
The app's tests will fail, throwing a template rendering exception fo
Pycharm is awesome. I've run it from WindowsXP/Windows7/Ubuntu/OSX and
it's great.
In terms of cross platform compatibility, I also rarely run into
anything which I think speaks pretty highly of Python and Django. The
Virtual Environments really help a lot.
Most of the development I do is locally
Just to wrap up, I describe a fix here:
http://www.manasupo.com/2012/03/geventpsycopg2-execute-cannot-be-used.html
Cheers,
Daniel
On Feb 28, 4:25 pm, j_syk wrote:
> As far as I remember, I quickly switched back to 'sync' worker type (the
> default) for the app which had this problem. I've never
Hi all
I am using pysvn to take updates. I have a link on admin to update data
when i click on that it gets updated and reloaded.(if there is xml data
change it will update and reloads it)
Now in my local machine when i click to update and reload it works fine but
after that it is breaking .
It i
30 matches
Mail list logo