Using two urls to load the same template

2014-11-13 Thread RLF_UNIQUE
Hello, I'm having this weird situation where if you go to my website like this www.mywebsite.com vs like this www.mywebsite.com/index.html I'm getting different values. *urls.py* urlpatterns += patterns('', url(r'^index.html$', views.index, name='index'),

Re: Using two urls to load the same template

2014-11-13 Thread RLF_UNIQUE
Did some more testing, seems like it's completely skipping the views.py, and going straight to loading index.html, any way to force it to dynamically load? On Thursday, November 13, 2014 9:37:27 PM UTC-6, RLF_UNIQUE wrote: > > Hello, > > I'm having this weird situation

Re: Using two urls to load the same template

2014-11-13 Thread RLF_UNIQUE
I think I figured it out. I was building "in" satchmo and was previously appending my urls to satchmo s, which probably has a catch all handler (r'^$') already that was loading it's own view and rendering index.html but was hitting my (overridden) template without any context since the views han

Users can give permissions they don't have.

2014-11-14 Thread RLF_UNIQUE
I want to make a "manager" user, who has a set of permissions (less than what I have as admin). I want "manager" to be able to create users, groups, permissions, etc, but restrict them to ONLY the permissions they have (if I give them permission to add user, they can just give new user all avail

Re: Users can give permissions they don't have.

2014-11-15 Thread RLF_UNIQUE
The problem is that's not how it's working. I create a user and they can give other users privs that they don't have. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an emai

my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-16 Thread RLF_UNIQUE
Obviously you've restarted the server and refreshed the page in such a way to ensure it's not a caching issue ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

How to override satchmo/apps/satchmo_store/contact/forms.py

2015-01-11 Thread RLF_UNIQUE
Can't figure out how to override this file, here is my directory structure └── store ├── __pycache__ ├── localsite │ └── contact ├── static │ ├── admin │ │ ├── css │ │ ├── img │ │ │ └── gis │ │ └── js │ │ └── admin │ ├── cache │ ├── css │ ├── fonts │ ├── images

Re: How to override satchmo/apps/satchmo_store/contact/forms.py

2015-01-11 Thread RLF_UNIQUE
└── store ├── __pycache__ ├── contact ├── localsite │ └── contact ├── static │ ├── admin │ ├── cache │ ├── css │ ├── fonts │ ├── images │ └── js └── templates ├── contact ├── product └── shop -- You received thi

Re: How to override satchmo/apps/satchmo_store/contact/forms.py

2015-01-11 Thread RLF_UNIQUE
Whoops that didn't work └── store ├── __pycache__ ├── localsite ├── static │ ├── admin │ ├── cache │ ├── css │ ├── fonts │ ├── images │ └── js └── templates ├── contact ├── product └── shop -- You received this message b

How to hide the "save and add another" button in admin page?

2014-01-18 Thread RLF_UNIQUE
I have been trying all day. What I am doing is trying to have a model for an "about" page, which I want to limit to 1 item. It doesn't really make sense to have multiple "abouts". I've done everything described here http://stackoverflow.com/questions/13101281/in-django-admin-how-can-i-hide-save-

Re: How to hide the "save and add another" button in admin page?

2014-01-19 Thread RLF_UNIQUE
Ah I see, give a user change permission but not add or remove? Then just use superaccount to make initial entry? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to