Hey,
I'm going to use ftplib to open up an FTP connection to an FTP server
provided by the user. The client will be sending FTP commands to my django
server via Ajax, which will then be forwarded to the FTP server the user
provided. However, I'd like to not have to create a new FTP server
On Wednesday, 28 December 2011 18:43:06 UTC, Nirmal Kumar wrote:
>
> I am trying to pass the id to thanks view through reverse. But it's not
> working. I'm getting this error
>
> Reverse for 'reg.views.thanks' with arguments '(20,)' and keyword
> arguments '{}' not found.
>
> I posted the
@ Mengu, Timothy Makobu: tnx for your replies.
this is the custom renderer class: pastebin.com/9x8HPgT1 but
honestly i have not understand where to modify the code since it's
just a code snippet found on the internet.
I also tried to modify the usertype parameter in the form, passing
with it
In response to the recent discussion of SOPA on the django-dev list
(and to the recurring phenomenon of having no clearly defined space to
congregate to discuss "deeper" issues), I have started a new google
group, django-deeper.
As a relative newcomer to the django community, I have been
On Dec 28, 11:46 am, Hassan wrote:
> Dear All,
>
> I want to know if there is a way that i can get youtube videos to my
> website using a video url ?
>
> Best Regards ,
>
> Hassan AL-Natour
Have you seen the oEmbed specification?
http://oembed.com/
I believe there is
I am trying to pass the id to thanks view through reverse. But it's not
working. I'm getting this error
Reverse for 'reg.views.thanks' with arguments '(20,)' and keyword arguments
'{}' not found.
I posted the question with the code in stackoverflow:
Dear All,
I want to know if there is a way that i can get youtube videos to my
website using a video url ?
Best Regards ,
Hassan AL-Natour
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I have CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True. It seems to cache pages
even for people who have logged in. For example, I can log into the
admin, and edit an object. If I then visit the view for that app, my
changes do not get seen until the 5 minute cache timeout hits.
I suspect my middleware
It's maybe not as rigorous as the explicitly _meta-based approach
noted by Russ McGee, but I use straight introspection combined with a
knowledge of naming conventions, as follows:
# This function looks only at passed in object, not its derived
subobjects
# If you want items from the most derived
I'd go for a separate table instead, with something like
class BillingInfo(models.Model):
customer = models.OneToOneField(Customer)
billing_address = models.OneToOneField(Address)
and then just have logic in the views and templates to account for
existence/nonexistence of a
Just looking at the models, I'd like to make a couple of suggestions.
Instead of using a Foreign Key relationship in Customer to indicate
the billing address, I would include a flag called 'billing_address'
in the Address table that would be set to True for the customer
selected address.
An
Thanks for the thoughts, Stuart.
On Dec 23, 2:08 pm, Stuart Laughlin wrote:
> On Dec 22, 9:01 am, ChrisCurvey wrote:
>
> > The short version: when processing a request, does Django *always*
> > collect session information from the session store before
I'm new to Django. I'm finding it very impressive so far but have hit
a cluster of problems. I'm using the SVN version.
Sorry for the length of this, I'm just trying to explain as fully as I
can what I'm trying to do, what I have and what's going wrong.
The relevant parts of my model, in the
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#firstof
2011/12/28 Nikhil Verma
> Go to this link
>
> https://docs.djangoproject.com/en/dev/ref/templates/builtins/
>
> {% if athlete_list %}
>
> Number of athletes: {{ athlete_list|length }}
> *{% elif
hi.
in psycopg module, when composing a query, you can use "%(key)s" in your
query instead of "%s", and pass a dictionary instead of a list for actual
parameter.
django docs mention the "%s" syntax for raw queries. i was just wondering
if the other syntax is supported or not, because it can be
You can also consider to use pinax: http://pinaxproject.com/
or userena for accounts: http://django-userena.org/
Denis.
On Tue, Dec 27, 2011 at 8:58 PM, Jesramz wrote:
> Hello All,
>
> I would like to create a job search project a lot like monster or
> indeed.
>
16 matches
Mail list logo