Like I said use the "Groups" and then like what was suggested
"Permissions". That should handle what your are trying to do and not
introduce any conflicts.
On Aug 18, 9:17 am, dfolland <dfoll...@nex-tech.com> wrote:
> Try using "Groups" that is part of th
Try using "Groups" that is part of the Django user authentication.
https://docs.djangoproject.com/en/dev/topics/auth/
On Aug 18, 6:56 am, Cameron wrote:
> Hi, I'm wondering if anyone can help shed some light on the best
> approach is too creating different Users. I'm
Here is a way that I set up a settings model.
class YourSettings(models.Model):
ID_CHOICES = ((1,'Settings is a single record'),)
id = models.IntegerField(primary_key=True, choices=ID_CHOICES,
default=1)
... then the other fields for your settings.
On May 4, 12:11 am, Toninho Nunes
You might want to check out Django resources.
http://code.djangoproject.com/wiki/DjangoResources#Open-SourceDjangoprojects
On Apr 7, 6:11 am, GOUTAM KUMAR RANA wrote:
> can any one please give link for some inventory site with source
> code..
>
> ie user management,
If you are looking for "OR" then use the "Q object".
see
http://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects
On Apr 7, 11:39 am, Daniel wrote:
> Hi,
>
> Thank you for your help everyone. I know that I need to learn python
> better, and
idle.pyw is the gui version of the python idle editor. Sounds like
you've got file extension .py associated with it, instead of python.
On Dec 18, 11:59 am, OkaMthembo wrote:
> Hi Dane,
>
> Yes, when you have to specify an absolute path to get it working, it
> definitely
I've dealt with this by manipulating the data with Python codecs.
import codecs
new_value= codecs.decode(current_value, 'utf-8', 'ignore')
the default option is 'strict' which will raise a ValueError that
you've experienced, 'ignore' will drop the offending character, and
'replace' allows you
7 matches
Mail list logo