What does it mean to check about index selectivity? Sorry, my knowledge of
databases is mostly as a user. But I am learning a lot this week.
-Tim
On Fri, Feb 19, 2010 at 1:39 AM, Javier Guerra wrote:
> On Fri, Feb 19, 2010 at 2:31 AM, Timothy Kinney
> wrote:
> > is there a way to store a list
On Fri, Feb 19, 2010 at 2:31 AM, Timothy Kinney
wrote:
> is there a way to store a list variable in a model as a field (without
> creating another table)?
There's no 'list' field type in SQL. There's a 'set' in MySQL; but i
think it's not standard, so not supported in Django. but for small
sets
Thanks for this interesting approach.
Stephan
Am Freitag, 19. Februar 2010 00:34:54 schrieb Matías Costa:
> In general no, but in this simple usage it is posible. Writing from
> memory, the names will be wrong:
>
> class Info(models.Model)
> ...fields
>
> def article_context_rendered(
This is a fabulous response, Peter. Thank you very much for making this so
clear. The samurai_set is a revelation for me as well. I see now that I
should look more carefully at the methods available for the models.
If I can ask another question about this same topic, is there a way to store
a list
On Feb 18, 2010, at 11:47 PM, Timothy Kinney wrote:
>
> Here's the system I'm currently using that doesn't work too well...
>
> Samurai (id, name)
>
> Room (id, name, ForeignKey(Samurai), ForeignKey(Province))
>
> Province (id, name)
>
>
> Can someone suggest which relationships to use to g
I'm having some trouble wrapping my head around some ORM concepts in
Django.
I have a Samurai model, and I want to develop a Province and Room
model. The idea is that each Room is associated with a Province (is in
the province) and each Room can hold multiple samurai (and items).
I want to be abl
On Fri, Feb 19, 2010 at 11:23 AM, Michael Lissner <
mliss...@michaeljaylissner.com> wrote:
> Thanks for the reply.
>
> My teammate that writing the scrapers is a java guy, and he's planning to
> use that rather than django/python. I haven't looked at the kinds of
> databases that django creates,
Thanks for the reply.
My teammate that writing the scrapers is a java guy, and he's planning
to use that rather than django/python. I haven't looked at the kinds of
databases that django creates, but do you think that will cause any
problems?
If not, I think we'll proceed with plan B, below.
Mic
On Fri, Feb 19, 2010 at 10:04 AM, mjlissner wrote:
> I'm using django for a final project in my masters program at UC
> Berkeley, and I'm trying to sort out exactly how the database works. I
> would spend a bunch of time figuring this out myself, but I am working
> in a team, and my teammates nee
This has proven very helpful, thank you!
I've decided to implement it like this:
Samurai: Autofield ID (primary, unique)
Item: Autofield ID (primary, unique)
Inventory: Autofield ID, ForeignKey('Samurai'), ForeignKey('Item'),
Condition = IntegerField
This seems to do what I want.
Looking throug
I'm using django for a final project in my masters program at UC
Berkeley, and I'm trying to sort out exactly how the database works. I
would spend a bunch of time figuring this out myself, but I am working
in a team, and my teammates need this info asap.
My teammates are making scrapers that pull
On Friday 19 Feb 2010 2:01:50 am mendes.rich...@gmail.com wrote:
> Does anyone know a solution for this or help me in the right
> direction.
>
look in the apache access logs (not error logs) for a 404 on the calendar -
probably a path problem
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FO
1) You can change this in your model. Check out "verbose_name" and
"verbose_name_plural" for the model's Meta class.
http://docs.djangoproject.com/en/dev/ref/models/options/
2) If you have a ManyToMany field to samurai on the item, you don't
need the inventory model at all. A samurai's inventory
All of your comments prompted me to start reverse engineering what
django does and I came across the check_password method which just
separates the algorithm, salt and hash and then sends it to the
following method to compare the raw password to the hash password. So
basically, in Ruby, I can do th
It worked!!! Thanks a lot.
Marcelo
2010/2/18 Tim :
> There might be a better way, but something like this should work.
>
> In your view, build a list...
>
> transaction_list = []
> balance = 0
> for tran in Transaction.objects.order_by('date'):
> balance = balance + tran.debit
> balance = ba
On Thu, Feb 18, 2010 at 11:18 AM, hooda_28 wrote:
> hi im having a problem for about an hour now, i have a model
>
> class Dummy(models.Model):
>sell = models.CharField(max_length=20, choices=Z_CHOICES)
>
>def __unicode__(self):
>return u'%s' % (self.sell)
>
> where Z_CHOICES =('9
On Thu, 18 Feb 2010 17:13:09 +0100, Boris Schaeling
wrote:
[...]I see. Then it means what I actually tried to do is impossible. I
can't use properties as described at
http://www.djangoproject.com/documentation/models/properties/ but should
overwrite save() and __init__() because for a pr
In general no, but in this simple usage it is posible. Writing from memory,
the names will be wrong:
class Info(models.Model)
...fields
def article_context_rendered(self):
t = templates.from_string(self.article_context)
return t.render({'info':self};
And in the template
On 19/02/2010 1:53am, Wayne wrote:
Hi,
I am about to develop an admin interface using Django framework for
several web applications . By design, those applications will be
decentralized, which means that they may use different databases and
reside on different servers and they will talk to each
Hi,
I use in the Admin interface the tinymce editor. It is possible to enter some
template code in the editor which is displayed in the template?
Example:
the view:
def client_info(request):
info = request.META
content = Article.objects.all()
template = loader.get_template('content':
>
> from django.template.defaultfilters import slugify
>
> Every filter you see listed in
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/ lives in
> django.template.defaultfilters.
Awesome! Thanks!
And with that in hand, the only place I can find the string
"django.template.defa
Perfect example!
On Feb 18, 2010, at 4:09 PM, Matt McCants wrote:
> Here's a stripped down example. I've messed with using signals instead
> of overriding the save method for all the models that need a slug. But
> this is quick and easy.
>
> http://gist.github.com/308068
>
> Matt
>
> On Thu, 2
Depends on what you have for your render_to_response. It's pretty good
practice (from what I can tell) to use something like this
Note that response is a dict that has my per view context variables in
it.
return render_to_response("myapp_super_cool_template.html", response,
context_instance=Reque
Here's a stripped down example. I've messed with using signals instead
of overriding the save method for all the models that need a slug. But
this is quick and easy.
http://gist.github.com/308068
Matt
On Thu, 2010-02-18 at 14:53 -0600, Jon Loeliger wrote:
> >
> > > Is there a canonical definiti
El 18/02/10 17:53, Jon Loeliger escribió:
> Exactly *which* slugify() function? Documentation reference?
> Import from line?
>
from django.template.defaultfilters import slugify
Every filter you see listed in
http://docs.djangoproject.com/en/dev/ref/templates/builtins/ lives in
django.templat
> Some places say underscores are valid, others say they removed:
>
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/
>
> slugify
>
> Converts to lowercase, removes non-word characters
> (alphanumerics and underscores) and converts spaces to
> hyphens. Als
>
> > Is there a canonical definition or even a reference implementation
> > of a slug =3D slugify(str) function somewhere? Yeah, I could go
> > grep through the sources and maybe find one? And yes, I see:
> >=20
> >http://docs.djangoproject.com/en/dev/ref/models/fields/#slugfield
> >=20
> >
On Feb 18, 2010, at 3:01 PM, Jon Loeliger wrote:
> Folks,
>
> Quick question or two:
>
> Is there a canonical definition or even a reference implementation
> of a slug = slugify(str) function somewhere? Yeah, I could go
> grep through the sources and maybe find one? And yes, I see:
>
>ht
Hello Django Users,
We started putting our django application in production and came
across something what to me was really odd.
In our database model we have multiple DateFields which are presented
with a today and calender besides it in the admin site.
When we moved our application into product
Hello, I'm new to Django, but learning as fast as I can. I would
appreciate some technical help and some database design advice...
**
1) Admin pluralizing question
So I have three models: samurai, item, inventory
When I login to the admin screen it has chosen to pluralize them as:
samurais, item
Folks,
Quick question or two:
Is there a canonical definition or even a reference implementation
of a slug = slugify(str) function somewhere? Yeah, I could go
grep through the sources and maybe find one? And yes, I see:
http://docs.djangoproject.com/en/dev/ref/models/fields/#slugfield
But
Check out the http shortcuts:
http://docs.djangoproject.com/en/dev/topics/http/shortcuts/
There is one for redirect that can redirect you to a function in the view.
-Tim
On Thu, Feb 18, 2010 at 1:49 PM, Ryan Mark wrote:
> Any thoughts as to how I could get the view function from a url name?
>
I have a database that another application (i.e. non-Django) feeds
data into.
class Service(models.Model):
name = models.CharField(max_length=100)
class Alert(models.Model):
service = models.ForeignKey(Service)
message = models.CharField(max_length=255)
A given service can have many
Robin,
I tried, but it didnt work...
On 18 fev, 17:20, robin nanola wrote:
> i solved it, it was just an encoding issue, i just put these
> #!/usr/bin/python
> # -*- coding: utf-8 -*-
> in the first two lines of the of my choices file and then make sure that all
> the choices are encoded also to
Any thoughts as to how I could get the view function from a url name?
Is there something like django.core.urlresolvers.resolve() that takes
a url name and returns a view function? Thanks!
--
Ryan Mark
--
You received this message because you are subscribed to the Google Groups
"Django users" g
On Thu, Feb 18, 2010 at 2:32 PM, ramu...@gmail.com wrote:
> Does anyone know about any solutions for keeping data bigger, than 1
> mb in memcached ?
sure, use the filesystem.
seriously; nginx can serve static data from disk just as fast as
memcached does from RAM.
--
Javier
--
You received t
This can works on the base of this snippet
http://www.djangosnippets.org/snippets/488/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send emai
I'm trying to write a simple view decorator that does some permission
checking based on an ID passed as part of the URL and the
authenticated user. Some relevant code:
The decorator:
def owns_item(failure_redirect_url='/'):
def check_ownership(method):
def _wrapper(request, **kwargs)
Does anyone know about any solutions for keeping data bigger, than 1
mb in memcached ?
This is no big deal to cut big data to 1mb pieces before setting and
merge this pieces after getting from memcached. And this algorithm can
work transparently for users.
--
You received this message because yo
i solved it, it was just an encoding issue, i just put these
#!/usr/bin/python
# -*- coding: utf-8 -*-
in the first two lines of the of my choices file and then make sure that all
the choices are encoded also to utf-8 format.
thanks for your time, i appreciate it.
On Fri, Feb 19, 2010 at 3:09 AM,
This happened to me before. I solved it by first writing generic text in the
template and then making sure that the text would show. Then I passed a
variable to the template but left it defined as {None: None} to see if I was
making the call correctly. Finally, I edited the variable to be some text
Hello fellows,
I have a generic view but I cant see the data.
The template is been loaded and there is only one register in the
database.
But the template doesnt bring the data.
Any clue why?
Thanks a lot!
--
You received this message because you are subscribed to the Google Groups
"Django us
Sorry for the noob question, but what is a Buildout recipe?
On Thu, Feb 18, 2010 at 11:30 AM, Gustavo Narea <
gustavona...@2degreesnetwork.com> wrote:
> Hello,
>
> I'm pleased to announce Djangout, a set of Buildout recipes for
> Django. Although that "set" is made of just one item, we find this
I am new to Django and loving it. I am using v1.2 locally and have an issue
with my first project from scratch: The CSRF token is not being sent with
my form post. I have {% csrf_token %} inside the tag and have
verified that a csrf cookie does exist for the browser. However, I get the
error m
Hello,
I'm pleased to announce Djangout, a set of Buildout recipes for
Django. Although that "set" is made of just one item, we find this
functionality to be a very useful one:
http://packages.python.org/djangout/
If you'd like to receive updates about this recipe, you may want to
keep an eye on
yes its all working fine, when i change may choices like for example
Z_CHOICES =(('9','nnn'),('10','na',),) without any non-ascii character the
select box were shown with the choices list.
On Fri, Feb 19, 2010 at 2:56 AM, Timothy Kinney wrote:
> Can you successfully log in to the admin site using
Can you successfully log in to the admin site using the test server?
On Thu, Feb 18, 2010 at 10:18 AM, hooda_28 wrote:
> hi im having a problem for about an hour now, i have a model
>
> class Dummy(models.Model):
>sell = models.CharField(max_length=20, choices=Z_CHOICES)
>
>def __unicode
There might be a better way, but something like this should work.
In your view, build a list...
transaction_list = []
balance = 0
for tran in Transaction.objects.order_by('date'):
balance = balance + tran.debit
balance = balance - tran.credit
transaction_list.append({'transaction':tra
On 18/02/10 15:55, Paul Stone wrote:
I'm trying to find the best way to update a model using data from the
request object (e.g request.user) before it is saved. One use case for
this is updating an 'updated_by' field on a model.
I've come across http://www.djangosnippets.org/sn/ippets/476 which
On Thu, Feb 18, 2010 at 10:55 AM, Paul Stone wrote:
> I'm trying to find the best way to update a model using data from the
> request object (e.g request.user) before it is saved. One use case for
> this is updating an 'updated_by' field on a model.
Presumably you have a view which is updating th
Thanks for the link to that option, Dougal. I have typically managed
my models textually in the past - and maybe that's still the best way
to do things. Especially if you can use things like graph_models to
output a visual representation for discussion purposes. I was just
trying out a new way o
On 18 February 2010 00:03, snfctech wrote:
> I just built a complicated schema with MySQL workbench and am looking
> at Python frameworks to start implementation.
>
> Does anybody in the Django community do this? What's your practice
> for going back and forth between the ERD and the ORM? I saw
I have the RemoteUserMiddleware middleware working so users are
authenticated on a Django site using Apache's basic authentication.
However, the admin cannot log in. I only found one post on these
groups with the same problem but no answer. So is this possible? Can
an admin login somehow when the s
On Feb 17, 9:36 am, justind wrote:
> I have an unusual Django application. I was wondering if someone could
> offer advice to the best way to handle a requirement. This isn't a
> standard application (and might not even seem like a good use of
> Django, but that's beside the point.)
>
> Redhat,
@Daniel: That's the idea! But it's Mac only. :-(
@rebus_: Thanks for the links for graph_models. You still have to
manage the models textually, though. I was hoping for something that
you could manage visually.
On Feb 18, 1:15 am, rebus_ wrote:
> On 18 February 2010 01:03, snfctech wrote:
>
@Vasil: thanks for the enumerated points.
On Feb 18, 8:47 am, snfctech wrote:
> Thanks for the reply, Wiiboy.
>
> I agree that web2py is cool and Massimo is a good guy.
>
> I'm still comparing the two frameworks and don't have a lot of
> preferences to list yet, but so far I prefer the way the on
Hi there!
I am thinking about the best way of presenting some data from a proxy
model.
I have some model classes let's say: http://bpaste.net/show/3338/
and a view:
def proxy_view(request, year, month, day):
qs = ExModel.objects.all()
# maybe some stuff here with `some_logic` method
Thanks for the reply, Wiiboy.
I agree that web2py is cool and Massimo is a good guy.
I'm still comparing the two frameworks and don't have a lot of
preferences to list yet, but so far I prefer the way the online Django
tutorial is written to the Overview/tutorial chapter of the web2py
book. I al
Definitely use python csv and do it yourself. It's really very
simple. shaner's links above should help. One thing I would add is
make sure you convert all of your model values to unicode because
otherwise the csv module will choke on bad characters.
unicode(value, 'utf8')
:Marco
On Feb
hi im having a problem for about an hour now, i have a model
class Dummy(models.Model):
sell = models.CharField(max_length=20, choices=Z_CHOICES)
def __unicode__(self):
return u'%s' % (self.sell)
where Z_CHOICES =('9 , 'ñññ'),('10' , 'ña'),('11' , "aña"),) that is
dynamically cre
I've looked at it a couple of months ago. There are some great ideas behind it.
Web2Py cons:
1. The first and biggest issue at the time was that there was no
sufficient/accessible documentation available for free. The book was
only available on scribd for free which is horrible. Now the book is
av
On Thu, 18 Feb 2010 16:53:06 +0100, Gonzalo Delgado
wrote:
El 18/02/10 10:18, Boris Schaeling escribió:
This replaces the setter but not the getter.
To replace the getter, you'd have to override the modelform's __init__
method and set the corresponding field value from the instance getter
I'm trying to find the best way to update a model using data from the
request object (e.g request.user) before it is saved. One use case for
this is updating an 'updated_by' field on a model.
I've come across http://www.djangosnippets.org/snippets/476/ which
suggests one way of doing this. What do
El 18/02/10 10:18, Boris Schaeling escribió:
>
> This replaces the setter but not the getter.
To replace the getter, you'd have to override the modelform's __init__
method and set the corresponding field value from the instance getter.
--
Gonzalo Delgado
--
You received this message because y
I have a model with accounting records, in which the last two columns
are "Debt" and "Credit".
I would like to do a report that is something like the following:
Description DebtCredit Balance
Movement 1100.000.00 100.00
Movement 2
I have this in my views, if there lor1 and lor2 are both there it
works fine, but if one or two of them are missing then it gives me
this error.
views.py - http://dpaste.com/161124/
error - http://dpaste.com/161128/
Some applicants have two LORs, some have one LOR, and obviously some
don't have
You could have a secure url that the RoR apps redirect to if the user
isn't authenticated with Rails. That url would have the login_required
decorator. If they successfully login on the django side (or are
already logged in), then they get redirected with some sort of get
variable user id + hash co
If I override a field in an Admin form to limit the selected choices,
e.g.
class MyForm(forms.ModelForm):
entity =
forms.ModelChoiceField(queryset=MyEntity.objects.all().filter(some_field
="some_value")
class Meta:
model = MyEntity
I see that my dropdown in the Form is properly fi
First of all, I'd like to say that I think Web2py, and its maintainer
Massimo, are awesome. =)
I tried Web2py for a little while a couple months ago, but the biggest
issue was poor documentation -- at the time, there was almost
nothing. Now there's a whole book, online, but...
Also, it was missi
Ah, very interesting, exactly what I was looking for, thanks for the
tip.
Jacek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
d
Atamert & Clifford, thank you both for your extensive answers.
Atemert:
> First of all you need to make sure whether you need an Employer (and a
> seperate Manager) model. Perhaps you can do with a UserProfile (see auth
> docs). And then there can be a role column to define Employer/Manager/etc or
Hi,
I am about to develop an admin interface using Django framework for
several web applications . By design, those applications will be
decentralized, which means that they may use different databases and
reside on different servers and they will talk to each other via web
services. We have our L
On Wed, Feb 17, 2010 at 10:38 AM, Marco Rogers wrote:
> When you're ready to go live, you'll need to make sure your production
> server has access to a real mail server.
i usually just install ssmtp on both development and production servers.
--
Javier
--
You received this message because you
On 18 February 2010 15:12, Derek wrote:
> Is there a way to alter the display of fields in the Django Admin change
> lists so that they do not show (None) - for text - or None - for numeric.
>
> I'd prefer to use " " or "-" for display of items instead.
>
> Thanks
> Derek
>
> --
> You received thi
On Feb 18, 2010, at 9:29 AM, Jacek Furmankiewicz wrote:
> Is it possible to intercept the QuerySets that Django generates?
Yes, make a custom manager:
http://docs.djangoproject.com/en/dev/topics/db/managers/
Brief: When you use 'objects' (as in MyModel.objects), you're using the default
m
Is it possible to intercept the QuerySets that Django generates? Maybe
there is some generic QuerySetFactory per each entity that we could
use to filter out the disallowed instances?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
On Feb 18, 2010, at 9:41 PM, Sander wrote:
Thanks!
Those guidelines are certeinly helpfull.
Hope these helps. If you need more specific answers please expand the
following paragraph:
My main project should have a couple of entities, like for example
an
'Employee', 'Manager', 'Question'. A
On Thursday 18 February 2010 15:41:40 Sander wrote:
> let's say the following (pure hypothetical):
> - an Manager can read questions at example.com/manager/read
> - an Employee can post questions at example.com/employee/add
>
> Let me try myself:
> In this case, following your guidelines, I think
On 02/18/2010 08:41 AM, Sander wrote:
let's say the following (pure hypothetical):
- an Manager can read questions at example.com/manager/read
- an Employee can post questions at example.com/employee/add
The URL namespaces is only loosely coupled to applications. This is, in
fact, a big streng
Is there a way to alter the display of fields in the Django Admin change
lists so that they do not show (None) - for text - or None - for numeric.
I'd prefer to use " " or "-" for display of items instead.
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
Thanks!
Those guidelines are certeinly helpfull.
> Hope these helps. If you need more specific answers please expand the
> following paragraph:
>
> > My main project should have a couple of entities, like for example an
> > 'Employee', 'Manager', 'Question'. An employee can ask questions, and
> >
On 18 February 2010 14:02, Alexey Kostyuk wrote:
> Hi ALJ!
>
> Why can not you add a model 'reports' (in your example) and add the
> required permissions?
> Also you can add custom permissions[1] to any other models of your app
> and use them.
>
> [1]http://docs.djangoproject.com/en/dev/topics/aut
Check out this site also. It will generate a good starting point for
your app...
I am using it to learn good project/app deisgn.
djangogenerator.com
Thanks,
Richard Shebora
On Thu, Feb 18, 2010 at 7:43 AM, Sander wrote:
> Hello everybody,
>
> I'm having a little hard time starting a Django pro
Hello
I make a simple Photostore, application and I like to import the images from a
directory.
I like to upload files via FTP.
So I like to ask your help about this.
I like to a make something same, if it posible:
class Testmodel(models.Model):
...
pict = models.ImageField(u"pi
Hi ALJ!
Why can not you add a model 'reports' (in your example) and add the
required permissions?
Also you can add custom permissions[1] to any other models of your app
and use them.
[1]http://docs.djangoproject.com/en/dev/topics/auth/#id2
On Thu, 2010-02-18 at 04:29 -0800, ALJ wrote:
> Hi Alexe
Hi Rebus,
Yeah, I got that, but where do I put the meta permissions? In which
model? The user?
>
#models.py
class UserType(models.Model):
id = models.CharField(max_length=3, primary_key=True)
name = models.CharField(max_length=30)
On 18 February 2010 13:29, ALJ wrote:
> Hi Alexey,
>
> But how do you set a permission for a view? There's no underlying
> model to which to add the custom meta permissions.
>
> ALJ
>
> On Feb 18, 12:48 pm, Alexey Kostyuk wrote:
>> On Thu, 2010-02-18 at 02:30 -0800, ALJ wrote:
>> > First project
On Thu, 18 Feb 2010 02:01:16 +0100, Sam Lai wrote:
On 18 February 2010 10:49, Boris Schaeling wrote:
Is it possible to make a model's properties available in a form which
are
created as described at
http://www.djangoproject.com/documentation/models/properties/?
[...]
Not impossible - just
On Thursday 18 February 2010 14:43:07 Sander wrote:
> Hello everybody,
>
> I'm having a little hard time starting a Django project because I'm
> not sure where to place my models in the first place.
>
> For example, the Django beginner tutorials put all entities of the
> 'Poll' application (Quest
On 18/02/10 08:31, Sander wrote:
Can you explain yourself a little bit more about the other one to one
fields?
Well, django has a "OneToOneField" field type, that is like ForeignKey"
only assumes the two models are, well, one to one. And thus, the
generated reverse relation accessor returns
Hello everybody,
I'm having a little hard time starting a Django project because I'm
not sure where to place my models in the first place.
For example, the Django beginner tutorials put all entities of the
'Poll' application (Question, Answer) in a new app called Polls. Thats
pretty clear, but a
Hi Alexey,
But how do you set a permission for a view? There's no underlying
model to which to add the custom meta permissions.
ALJ
On Feb 18, 12:48 pm, Alexey Kostyuk wrote:
> On Thu, 2010-02-18 at 02:30 -0800, ALJ wrote:
> > First project and struggling a bit.
>
> > I have some views that I w
Hi there,
I am using Django 1.1 and have an issue with signals pre_save. I am
having a model
in which i have a foreign key element that I want to set in the
pre_save method. I am
performing a lookup and depending on the outcome of the lookup I want
either to
create a new object of the foreign key
On Thu, 2010-02-18 at 02:30 -0800, ALJ wrote:
> First project and struggling a bit.
>
> I have some views that I want to restrict access to, depending on user
> type. How do I do that?
>
> For example, I have a 'reports' view that I only want teachers to
> see ... not students. I can't see how to
On Feb 18, 9:25 am, Atamert Ölçgen wrote:
> Hi Sithembewena,
>
> On Thursday 18 February 2010 00:27:10 Sithembewena Lloyd Dube wrote:> Emily
> provided an answer according to what she understood from the OP. No
> > harm in doing that, at least not worse than no attempt at giving a
> > solution.
Apologies for my handling of this matter earlier. It was not the Python way
:)
Bruno, feel welcome here.
On Thu, Feb 18, 2010 at 11:25 AM, Atamert Ölçgen wrote:
> Hi Sithembewena,
>
>
> On Thursday 18 February 2010 00:27:10 Sithembewena Lloyd Dube wrote:
> > Emily provided an answer according
First project and struggling a bit.
I have some views that I want to restrict access to, depending on user
type. How do I do that?
For example, I have a 'reports' view that I only want teachers to
see ... not students. I can't see how to create a custom permission
because there is no underlying m
Hi Sithembewena,
On Thursday 18 February 2010 00:27:10 Sithembewena Lloyd Dube wrote:
> Emily provided an answer according to what she understood from the OP. No
> harm in doing that, at least not worse than no attempt at giving a
> solution..
>
> I think that people who have a problem with post
On 18 February 2010 01:03, snfctech wrote:
> I just built a complicated schema with MySQL workbench and am looking
> at Python frameworks to start implementation.
>
> Does anybody in the Django community do this? What's your practice
> for going back and forth between the ERD and the ORM? I saw
On 18 February 2010 00:03, snfctech wrote:
> I just built a complicated schema with MySQL workbench and am looking
> at Python frameworks to start implementation.
>
> Does anybody in the Django community do this? What's your practice
> for going back and forth between the ERD and the ORM? I saw
1 - 100 of 103 matches
Mail list logo