Hi,
I am new to both Django and Python and yet I'm developing a site for
myself. I have some programming skills in REXX, Pascal and Bash and
that helps a little.
I need to do one of the simplest things, yet I hit a roadblock.
I lost literally a week searching every little page for solution to m
Thanks, guys. Those are just the pointers I needed.
Dan
On Fri, Jun 6, 2008 at 5:02 PM, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On Fri, Jun 6, 2008 at 6:57 PM, Dan W. <[EMAIL PROTECTED]> wrote:
> > I'm pretty new to django and so far so good except for one thing. When I
> > fetch model obje
Thank you Andrew, very interesting.
In case of using sessions, maybe it.s possilbe to create an object to
serialize only the data, the same as the hidden fields do. So this way
we can solve a problem,
Example: form = MyForm( serialized_data ) where serialized data is a
dictionary get by form.clean
On Sat, Jun 7, 2008 at 3:57 AM, Huuuze <[EMAIL PROTECTED]> wrote:
>
> I have a method that evaluates the incoming "HttpRequest" from a
> webpage. As such, I'll use the following call to retrieve the data:
>
>>> person_id = request.GET.get('person_id', '')
At this point, person_id contains a stri
Hi,
If you need Python expert advice, the place to go is the Python group:
http://groups.google.com/group/comp.lang.python
Best,
Julien
On Jun 7, 11:31 am, Greg <[EMAIL PROTECTED]> wrote:
> Hello,
> I have the following list:
>
> [{'count': u'2', 'manu': }, {'count': u'4',
> 'manu': }, {'count
الخاتم الهزاز بالصور لاول مره
http://www.antya7la.com/vb/t26679.html
إقرأ هذا الدعـاء ولو مرة واحدة في حياتك
http://www.antya7la.com/vb/t26026.html
تاامر حسني يهرب من مطاردات الجزائرياات
http://www.antya7la.com/vb/t22796.html
محشش يحكي لصديقه قصة حزينة ههه
http://www.antya7la.c
How about having a go at Apache + mod_wsgi?
Graham
On Jun 7, 1:06 pm, msaelices <[EMAIL PROTECTED]> wrote:
> Buildout [1] is a great tool for deployment of projects created by
> zope3 and used in other projects like Plone. It is based on python
> "recipes" which could install whatever.
>
> I jus
Buildout [1] is a great tool for deployment of projects created by
zope3 and used in other projects like Plone. It is based on python
"recipes" which could install whatever.
I just created a project for easily deploy django in three possible
configurations:
* Apache + mod_python
* Apache + mo
oh,thank you
On 6/7/08, James Bennett <[EMAIL PROTECTED]> wrote:
>
> Once again:
>
> Please route job listings to djangogigs.com.
>
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."
>
> >
>
--
耑此佈達
東亮
--~--~-~--~~~---~--~~
Yo
Don't use the internal method, instead do unicode(self.location_type)
+ ' - '
On Jun 6, 9:27 pm, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Rajesh Dhawan wrote:
>
> >> My model :
>
> >> class phonenumber(models.Model):
> >> location_type = models.ForeignKey(location_type)
> >> location_descr
Rajesh Dhawan wrote:
>
>> My model :
>>
>> class phonenumber(models.Model):
>> location_type = models.ForeignKey(location_type)
>> location_description = models.CharField(max_length=50, blank=True)
>>
>> def __unicode__(self):
>> if self.location_description:
>>
Once again:
Please route job listings to djangogigs.com.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
Hi guys
I have a new web2.0 project that will be launched in few days.So I
need 1~2 program wizards for coding.Does anybody take interested in?Or
give me some advices of outsourcing companies.
Thank you very much
P.S: the project could be code by python or php.Of course,using python
under Django
OK. I just wonder if anyone else has this issue. Free comments seem to
be pretty widely used on the Django blogs I've seen.
On Jun 5, 9:20 pm, Gregor Müllegger <[EMAIL PROTECTED]> wrote:
> This is because the django.contrib.comments app still uses hardcoded
> links in its code.
>
> A quick and di
On Fri, Jun 6, 2008 at 7:55 PM, david.watson <[EMAIL PROTECTED]> wrote:
> I have a relatively simple django project that I need to get done.
> I'm an experienced software engineer, but I don't have the cycles to
> do this myself. I have, however, carefully thought out the
> requirements and desig
Hello,
I have the following list:
[{'count': u'2', 'manu': }, {'count': u'4',
'manu': }, {'count': u'2', 'manu': }, {'count': u'2', 'manu': }]
My current list currently contains four dictionaries. They are:
{'count': u'2', 'manu': }
{'count': u'4', 'manu': }
{'count': u'2', 'manu': }
{'count':
I'm kind of new to both Django and Python, so bear with me if the
answer here is really obvious.
I'm working on a blog/CMS project wherein I want to have different
types of posts--for example, normal articles, film reviews, book
reviews, etc.--where each type of post will have certain common fiel
Hi,
I have a relatively simple django project that I need to get done.
I'm an experienced software engineer, but I don't have the cycles to
do this myself. I have, however, carefully thought out the
requirements and design, so I can be quite clear about what I need
done.
It should take about 2
Managers are never iterables, for example you can't do:
for model in Model.objects:
so you would do:
for model in Model.objects.all():
the same concept applies to related managers.
On Jun 6, 6:57 pm, "Dan W." <[EMAIL PROTECTED]> wrote:
> I'm pretty new to django and so far so good exc
On Fri, Jun 6, 2008 at 6:57 PM, Dan W. <[EMAIL PROTECTED]> wrote:
> I'm pretty new to django and so far so good except for one thing. When I
> fetch model objects, their related objects are showing up as RelatedManager
> and ManyRelatedManager objects intead of the types I created and modified in
I'm pretty new to django and so far so good except for one thing. When I
fetch model objects, their related objects are showing up as RelatedManager
and ManyRelatedManager objects intead of the types I created and modified in
my model. Consequently if I try to iterate over them or access their data
I believe the general best practice is that sessions should be viewed as
a last resort for storing data.
You can store data in a number of places and they each have their
benefits and drawbacks.
The easiest place to store data is the URL, but storing user-specific
information in the URL is a
I have found out that the problem seems to happen on TextFields only.
I do not have a problem with CharFields.
eelco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
On 7 jun, 00:05, Grupo Django <[EMAIL PROTECTED]> wrote:
> Hi! Just a simple question.
> The Form Wizard application stores the data hashed in hidden fields.
> Why not in a session? Why is it better? I just want to learn best
> practices.
>
> Thank you.
Another question :-)
Can you get back to re
I am using Django with fastcgi and I cannot get the append slashes
middleware to work (I have CommonMiddleware installed in my settings
folder, and APPEND_SLASH is true). I have come across a number of
posts where append slashes breaks their installating, but for mine it
just does not append the s
Hi! Just a simple question.
The Form Wizard application stores the data hashed in hidden fields.
Why not in a session? Why is it better? I just want to learn best
practices.
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
It's HTML - ie, the required fields are in *bold* (I'm not sure google
groups accepts inline HTML, tho).
Good luck :)
Oscar
On Fri, Jun 6, 2008 at 10:12 PM, Cliff <[EMAIL PROTECTED]> wrote:
>
> Hi Cory,
> Thanks for your reply. Can you please be more precise? I am still on
> the level of trying
Hello,
I'm having a problem. I'm able to add and save a record from the
class described below. However, when I open that record back up in my
admin the estimated_date field displays true instead of the actual
date. When i try to save the record with true in the DateField I get
an error. Below i
Very cool! Worked as promised.
Thank you,
Sia
On Jun 6, 1:46 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> You can set `urlconf`(plain string - path to the needed urlconf)
> attribute to request object that is passed into `process_request`.
> Then django will use it not default.
>
> On Jun 6, 8:
Hi Cory,
Thanks for your reply. Can you please be more precise? I am still on
the level of trying to understand how the Django classes are
organized. Which file is that tag in?
Thanks
Cliff
On Jun 6, 3:03 pm, cory <[EMAIL PROTECTED]> wrote:
> By default, required fields are shown in bold. Just c
You can see my popego at manuel.popego.com
To get your popego account go to:
http://popego.com/signup/12cdbe81372835f36a1d6b84dc04ef22c5e9e9a8
---
The Popego Team
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
> My model :
>
> class phonenumber(models.Model):
> location_type = models.ForeignKey(location_type)
> location_description = models.CharField(max_length=50, blank=True)
>
> def __unicode__(self):
> if self.location_description:
> retval = self.location_description
I have a method that evaluates the incoming "HttpRequest" from a
webpage. As such, I'll use the following call to retrieve the data:
>> person_id = request.GET.get('person_id', '')
At this point, assuming I have a valid value for "some_id", I'd like
to use it in this statement:
>> results = Pe
On Fri, Jun 6, 2008 at 2:11 PM, Peter Rowell <[EMAIL PROTECTED]> wrote:
> I'm a little confused. The docs (http://www.djangoproject.com/
> documentation/middleware/#django-middleware-cache-cachemiddleware)
> say, and the code appears to support it, that if
> django.middleware.cache.CacheMiddleware
Hi Achim,
> I want to implement a background thread which updates data in regular
> intervals. Is that possible in django or via wsgi middleware? I'm
> quite new to this topic, so links to documentation would be fine.
You could just run a separate Django "standalone" process that does
your regul
@James:
I'm a little confused. The docs (http://www.djangoproject.com/
documentation/middleware/#django-middleware-cache-cachemiddleware)
say, and the code appears to support it, that if
django.middleware.cache.CacheMiddleware in the MIDDLEWARE_CLASSES
list, then caching is turned on for the whol
I think it's this bug:
http://code.djangoproject.com/ticket/6052
Nasty fellow.
--
Ole Laursen
http://people.iola.dk/olau/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Hi,
On Jun 6, 1:43 pm, Anderson Santos <[EMAIL PROTECTED]>
wrote:
> I was wondering how to translate application name in Admin page and I
> only found messages back to 2006 with a suggestion to include a
> variable "__verbose_name__" in the application's __init__.py file and
> no ticket at all.
>
You can set `urlconf`(plain string - path to the needed urlconf)
attribute to request object that is passed into `process_request`.
Then django will use it not default.
On Jun 6, 8:42 pm, Siah <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to select different urlpatterns in my middleware's
> process
I was wondering how to translate application name in Admin page and I
only found messages back to 2006 with a suggestion to include a
variable "__verbose_name__" in the application's __init__.py file and
no ticket at all.
There are any news about it? Wouldn't be good if at least the newforms-
adm
any suggestions anyone ?
On Jun 4, 9:22 am, Mayank Dhingra <[EMAIL PROTECTED]> wrote:
> traceback
>
> UnboundLocalError at /login/
> local variable 'settings' referenced before assignment
>
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'myproject.dual_session_middlewa
Free Dating Tips For Man and Woman http://www.webdatingtips.co.cc/
--~--~-~--~~~---~--~~
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 unsubscrib
Hi,
I need to select different urlpatterns in my middleware's
process_request hook. The docs say, process_request is called -before-
the appropriate view is selected, which should mean there must be a
way for me to tell django to use a different urlpatterns. I checked on
CommonMiddleware that doe
Yes, but python cares about types (a lot!!). If you have {% if blah %} in
your template, the template parser will have to evaluate blah. If blah is a
string, it will evaluate true unless it is empty. I am not totally sure how
it will be evaluated if it is not a string (or a list / dict / bool), so
Hi Em -
I'm not really specifying anything about type @ the moment.. .i'm just
trying to figure out how to pass stuff back to the template (ie stuff that's
NOT form validation related)
BR
On Fri, Jun 6, 2008 at 10:40 AM, Emily Rodgers <[EMAIL PROTECTED]>
wrote:
>
> I can't see anything work in
> -Original Message-
> From: django-users@googlegroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Emily Rodgers
> Sent: 06 June 2008 15:41
> To: django-users@googlegroups.com
> Subject: RE: sending data back to template out of a function
>
>
> I can't see anything work in your code
I can't see anything work in your code (but there could be something I
haven't spotted!!).
My instinct would be to ensure that zipcode is a string. What did you do to
check that the zipcode is being passed in?
Em
> -Original Message-
> From: django-users@googlegroups.com
> [mailto:[EMA
Hi all -
Thanks for your continued support as I find my Django legs.
on my form submission, i send to a view that checks for validation and
for now all i want to do is send the data that was entered right back
and show it to the user, but not in the form field. I'm breaking my
code out into two
On Fri, Jun 6, 2008 at 9:49 AM, Justin Lilly <[EMAIL PROTECTED]> wrote:
> Not in google groups, no.
>
Yes, google groups does have this option. Why it is not on for this group
is a mystery to me.
>
> On Fri, Jun 6, 2008 at 9:43 AM, Vadim Macagon <[EMAIL PROTECTED]> wrote:
>
>>
>> John Handelaa
By default, required fields are shown in bold. Just change the
"required" class in your admin's media directory and you can flag
required fields anyway you like.
Cory
On Jun 5, 6:34 pm, "Cliff Liang Xuan" <[EMAIL PROTECTED]> wrote:
> Hi,
> Is there a way to put a sign, e.g. a start * beside the
Not in google groups, no.
On Fri, Jun 6, 2008 at 9:43 AM, Vadim Macagon <[EMAIL PROTECTED]> wrote:
>
> John Handelaar wrote:
> >> * The alternative to this is to start moderating the list,
> >
> > With respect, no. There are a large number of other list hosting
> > options.
>
> Clearly moderatin
John Handelaar wrote:
>> * The alternative to this is to start moderating the list,
>
> With respect, no. There are a large number of other list hosting
> options.
Clearly moderating every post is impractical, but is there no way to
moderate the very first post of a new member before granting
Thanks Jeff,
You know any shared hosting settings? I will try to extrapolate the settings
for irectAdmin.
Thanks in advance,
Oscar.
On Sat, Jun 7, 2008 at 12:32 AM, Jeff Anderson <[EMAIL PROTECTED]>
wrote:
> Oscar wrote:
>
>> Hi,
>>
>> I have a VPS with DirectAdmin Control Panel for shared h
> -Original Message-
> From: django-users@googlegroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of M.Ganesh
> Sent: 06 June 2008 14:19
> To: django-users@googlegroups.com
> Subject: Help - m2m field in my model
>
>
> Hi,
>
> Excuse me for the dumb question.
>
> My model :
>
> cla
Make sure that location_type has a __str__() and/or __unicode__()
field set, and it's returning a str.
Cory
On Jun 6, 8:18 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Excuse me for the dumb question.
>
> My model :
>
> class phonenumber(models.Model):
> location_type = models.Foreign
Hi,
Excuse me for the dumb question.
My model :
class phonenumber(models.Model):
location_type = models.ForeignKey(location_type)
location_description = models.CharField(max_length=50, blank=True)
def __unicode__(self):
if self.location_description:
retval = sel
Hi,
I want to implement a background thread which updates data in regular
intervals. Is that possible in django or via wsgi middleware? I'm
quite new to this topic, so links to documentation would be fine.
regards,
Achim
--~--~-~--~~~---~--~~
You received this mes
> * If you apply the cache_page decorator to a specific view, the
> caching performed by that decorator only occurs for anonymous users.
> * If you use the {% cache %} tag in a template, the caching occurs for
> all users in all situations regardless of anonymous status.
> * If you use the low-lev
Thank you.
On Jun 6, 1:19 am, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> Cliff wrote:
> > Hi Jeff,
> > Thanks a lot for you reply. I guess now I need to look into how to set
> > my own forms and views.
> > Do you know some good tutorials online? I guess this official one
> > should be what I look
Sephi, you showed me the right way! Thanks!
{% url blogapp.posts_by_tag "mytag" %} didn't work, but then I tried
{% url blogapp.views.posts_by_tag "mytag" %}, since that function is
in views.py file, and got "/blog/tags/mytag/". Yay!
Thank you all for the help!
On Jun 6, 9:30 am, Sephi <[EMAIL
Exclusive Amazing Sites! Real Porn Links!
You will be taken inside the site of your choice and you are in for the most
unbelievable free porn of your surfing life!
http://tinyurl.com/6jhm5v
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
FREE PORN LINKS
Some Free porn Links For You! Clik any link to open the microsite for more
free porn!
http://tinyurl.com/6jhm5v
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
Sorry, when editing the title I hit return accidentally, and the
message got posted prematurely.
I then removed the message but you were too fast to reply :)
The correct message is here:
http://groups.google.com/group/django-users/browse_thread/thread/853d7b05f9123260
On Jun 6, 11:18 am, Jare
mwebs pisze:
> i get an "Error binding parameter 4 - probably unsupported type."-
> Interface error
> my model looks like this
>
> name = models.CharField(max_length=100, unique = True)
> active = models.BooleanField()
> image= models.ImageField(upload_to = 'scroller/', null=True
Hello,
i get an "Error binding parameter 4 - probably unsupported type."-
Interface error
my model looks like this
name = models.CharField(max_length=100, unique = True)
active = models.BooleanField()
image= models.ImageField(upload_to = 'scroller/', null=True)
image_thumbnai
All Hot Sexy Girls Photos Updated every 2 day Sexy Nude Celebrities and
Indian Hot Girls Nude Photos.
http://tinyurl.com/6jhm5v
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
Filippo Santovito wrote:
> Hi all,
> I've read http://www.djangoproject.com/documentation/models/generic_relations/
> .
> How can I share a tag between Animal and Vegetables?
>
>
have a look at http://code.google.com/p/django-tagging/
Ganesh
--~--~-~--~~~---~--~--
Have you tried adding a parameter to the templatetag ? You try to
output the url for the "posts_by_tag" view, but you don't pass any
post tag. In the example you gave from the docs, there's a client id
passed to the templatetag.
Try the following : {% url blogapp.posts_by_tag 'mytag' %}
On Jun 5
omat pisze:
> http://dpaste.com/54750/
This is postmortem after actual error which happened before. Basically
for PostgreSQL it works like this: if you gen an error in transaction,
any later statement raises programming error too. And there is no actual
error description in traceback you show us
On Fri, Jun 6, 2008 at 4:03 PM, omat <[EMAIL PROTECTED]> wrote:
>
> http://dpaste.com/54750/
You're kidding, right?
if you want help, you need to help us help you. Why don't you try
asking a question - one with real words and punctuation. Explain your
problem. Explain what you expected, and what
Hi,
Strangely, editing satchmo.product app's categories results in
Programming error when using Postgres but works fine with SQLite.
The full traceback is here:
http://dpaste.com/54750/
I double checked this by building db on Postgres from scratch. I am
using a recent svn version of Django with
Only Free Sex is one of the best and old xxx sites!
Daily Updates - New Movies and pics every day
Free Chat Bonus
Adult Dating Services
and much more from over 84 categories
http://tinyurl.com/6jhm5v
--~--~-~--~~~---~--~~
You received this message because you are su
http://dpaste.com/54750/
--~--~-~--~~~---~--~~
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 [EMAIL
Hi,
I have djangp-svn installed (revision 7574) on an archlinux system.
for testing i created an empty project with: "django-admin.py
startproject deneme". when i run the test server i can see the default
welcome page of django.
then i installed mod_python (v 3.3.1) on apache (2.2.8.2). i compil
Hello,
I solved it myself...
After some logging I found out that the Acitivity's process_request is
indeed never reached (that I knew already :) but when CommonMiddleware
does his append slash-stuff the full(!) process_response chain is
processed - which means also the Acitvity's process_respo
75 matches
Mail list logo