i want to know everything about django.
--
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
django-users+unsubscr...@googlegroups.com.
Instead, you can use the get() function,
x = MyModel.objects.get(id=3)
x.some_field = "new value"
x.save()
The difference between all() and get() is that all() will do a lazy
evaluation and get() will hit the physical database.
Fei
On Oct 12, 11:57 pm, Tom Evans wrote:
> On Fri
ople will know the blog and will write their own
articles. Having a central place is far better than searching google
to find scattered articles to read. Having a blog can also bridge
between people inside and outside the Django committee.
Cheers,
Fei
--
You received this message because you are subsc
I have been using Django for a while. The documentation for the Django
official web page is great, plus the free online django book. There
are enough documentations to get started using Django. However, I feel
there is a missing blog for Django developers.
Having a blog for developers is very usef
this problem.
Thanks!
Fei
--
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
django-users+unsubscr...@googlegroups.com.
F
Have you successfully installed django-extensions into python?
Here are the detailed instructions
http://code.google.com/p/django-command-extensions/wiki/InstallationInstructions
Fei
On Dec 8, 6:30 am, mongoose wrote:
> Hi all,
>
> I'm trying out django-command-extensions I w
If you really want to have a separate table for Tag, You can do this:
class CurrentTag(models.Model):
tag = models.OneToOneField(Tag, primary_key=True)
def __unicode__(self):
return self.tag
On Nov 20, 12:10 am, JE wrote:
> Thanks for the replies.
> I simplified the problem a bit
It took me a while how to do this. Figured it by reading several sites
returned by Google. Actually it's quite simple and easy. Here is my
sample code (using django server):
# assume you have an Attachment class and each row in the class
# has a FileField called 'stored_file'.
def attachment(reque
8 matches
Mail list logo