Am Mittwoch, den 19.10.2011, 07:54 +0530 schrieb kenneth gonsalves:
> On Tue, 2011-10-18 at 16:47 +0200, Paul Menzel wrote:
> > > > > 1.3 belongs to the stone age - since you are learning, it would be a
> > > > > good idea to work with the current svn trunk, updating every week or
> > > > > so.
> >
I want to do this since,The project I am handling(my first web project) is a
mobile version of a project ,there is already a user table in our
serverside.So avoid redundancy ,am not able to create a new table for users.
On Thu, Oct 13, 2011 at 8:11 PM, Benedict Verheyen <
benedict.verhe...@gmail.c
Thank you all for your great feedback!
I will definitely take Andre's to-do list there, I hear REST is
definitely something to master. I've been needing to learn Celery for
a project I want to work. I have worked with caching, although I do
not see myself as a master, I do know my way around the
I recommend South as well. Also, if you're interested -- I *might* be able
to connect you with some part-time work on a current project. Contact me
privately if want to know more. I need to talk it over with the big-man who
signs the pay-check but I could definitely use the help.
On Tue, Oct 18, 2
If you are in an instance method of a ModelAdmin, you can use `self.model`
to get the model associated with the ModelAdmin.
Have a look in django.contrib.admin's source for what methods you can
override, or hook into.
--
You received this message because you are subscribed to the Google Groups
On Tue, 2011-10-18 at 16:00 +0100, Tom Evans wrote:
> I can't stand incorrect pedantry - this is my curse.
>
> Kenneth actually said that "1.3 is ancient, you should be using
> trunk", which he corrected to "1.2 is ancient, you should be using
> trunk". His advice, regardless of which version you
On Tue, 2011-10-18 at 16:47 +0200, Paul Menzel wrote:
> > > > 1.3 belongs to the stone age - since you are learning, it would
> be a
> > > > good idea to work with the current svn trunk, updating every
> week or
> > > > so.
> > > > --
> > >
> > > s/1.2/1.3/
>
> > With all due respect to Mr. Gonsal
On Tue, 2011-10-18 at 06:46 -0700, Dan Gentry wrote:
> With all due respect to Mr. Gonsalves, I do not care to work with the
> Django trunk unless I'm just playing around with something.
with all due respect to Mr. Gentry, I submit that he has not read my
post properly - the relevant part he has
Hi,
For deployment to production, I package my Django app into an RPM
package. The install script is responsible for installing
dependencies, copying files, etc. Now that I've switched to Django
1.3 I also want to run the collectstatic command as part of the
deployment script. To do this, I've
I have been stymied by this one for a day or two now.
I have a situation where I have a 'reference' copy of an application
which gets deployed as a new django site with it's own database, url's
etc. I am trying to automate this deployment as follows: Present a
list of existing sites (there are ot
This must be easy but I'm not finding it in the docs. I need to access
the model class corresponding to the current ModelAdmin instance, so
that I can iterate through its objects. I need to do this generically
so that I can use the routine in all ModelAdmins.
Thanks for any help.
Lee
--
You rec
Hello,
Are there any tricks to getting the display value of a choice field to
work with prepopulated_fields slug creation in the admin?
class Team(Base):
MALE = 1
FEMALE = 2
GENDER_CHOICES = (
(MALE, u'Men'),
(FEMALE, u'Women'),
)
slug = models.SlugField(_(
AT,
Thank you very much for your detailed answer. I have managed to get it
to work now and it seemed obvious after your explanation.
Thank you once again.
Yours sincerely,
nav
On Oct 18, 9:11 pm, Andre Terra wrote:
> Hello, nav
>
> The most relevant lines in your traceback are:
>
> Template e
Ok, this is helping, believe it or not your are helping, I'm probably
confusing myself mostly.
So the model method explanation was very helpful and you are correct
that works great, as long as all dates have a completion_date. If a
new ticket is entered it will fail due to a "NoneType field with
Hello, nav
The most relevant lines in your traceback are:
Template error:
In template /home/nandu/django/swanlotus/templates/navigation.html, error at
line 6
Caught TypeError while rendering: cannot concatenate 'str' and
'FilterExpression' objects
1 : {% load custom_tags %}
2 : {%
Hi Friends,
Iam a beginner in django. I am developoing a contact form page. I created a
modelclass called 'contacts' and then created a a modelFormClass from that
model. I have two comboboxes in form called 'state' and 'city'. While
selecting state it should display all city beloing to that partic
On Oct 18, 5:17 am, Maksymus007 wrote:
> englishoo speakino list only.
That was rude and uncalled for.
--
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
On Oct 18, 2:37 am, mxm982 wrote:
> Ciao ragazzi ho realizzato una piccola applicazione in Django che
> aggiorna delle tabelle di uno schema gia preesistente. Ora ho la
> necessita di puntare al rach della db attraverso appunto il tsname non
> tramite sid come viene richiesto dal file setting.py p
Hello,
I'm just starting with a project that requires users to be able to
authenticate directly using their Facebook accounts.
I know this is an old problem, but I noticed there are two quite distinct
ways to solve it, and I wanted to ask for the group's opinion
1. Using FB JavaScript SDK
==
Am Dienstag, den 18.10.2011, 16:00 +0100 schrieb Tom Evans:
> On Tue, Oct 18, 2011 at 3:47 PM, Paul Menzel wrote:
> > Dear Dan,
> >
> >
> > [Reordering the message so that it is easier to see the connection.]
> >
> > Am Dienstag, den 18.10.2011, 06:46 -0700 schrieb Dan Gentry:
> >
> >> On Oct 18,
+1 for Always Develop against a Release, and if you are forced to use a VCS
checkout, at least use pip and pin your requirements to a specific point in the
history for that VCS.
On Tuesday, October 18, 2011 at 11:00 AM, Tom Evans wrote:
> On Tue, Oct 18, 2011 at 3:47 PM, Paul Menzel (mailto:pm
On Tue, Oct 18, 2011 at 3:47 PM, Paul Menzel wrote:
> Dear Dan,
>
>
> [Reordering the message so that it is easier to see the connection.]
>
> Am Dienstag, den 18.10.2011, 06:46 -0700 schrieb Dan Gentry:
>
>> On Oct 18, 3:10 am, kenneth gonsalves wrote:
>> > On Tue, 2011-10-18 at 12:36 +0530, ken
On 10/18/11 08:46, Dan Gentry wrote:
With all due respect to Mr. Gonsalves, I do not care to work
with the Django trunk unless I'm just playing around with
something. My goal is always to produce a production quality
application. Even the more stable than average Django trunk
cannot provide the
I've got 2 tables that are related to each other. Orders and History.
Inside the History table is the 'status' column. Like so..
class Orders(models.Model):
'order info'
class History(models.Model):
timestamp = models.DateTimeField(auto_add_now = True)
order = models.ForeignKey(Orders)
Dear Dan,
[Reordering the message so that it is easier to see the connection.]
Am Dienstag, den 18.10.2011, 06:46 -0700 schrieb Dan Gentry:
> On Oct 18, 3:10 am, kenneth gonsalves wrote:
> > On Tue, 2011-10-18 at 12:36 +0530, kenneth gonsalves wrote:
> > > On Mon, 2011-10-17 at 23:45 -0700, Ke
You should check out integrating with the Box.net API. I've written a
number
of applications for their site. They support previews of most common
file types.
Feel free to contact me directly if you want to see some simple code
examples
-- tufelkinder (at) gmail (dot) com
Walt
--
You received t
Hello,
I've recently upgraded to 1.3.1 and am getting a NoReverseMatch exception with
piston when attempting to view my admin panel. Has anyone else seen this with
1.3.1?
Here is the relevant url.py config for my piston:
blah_resource = Resource(handler=BLAH)
urlpatterns = patterns('',
AT,
Thanks for your email I have posted the custom template tag code and
the traceback at dpaste. The template code is at:
http://dpaste.com/636570/
the traceback is at:
http://dpaste.com/636571/
Please do let me know if anything else is required.
Thanks,
nav
On Oct 18, 5:20 pm, Andre Terra
With all due respect to Mr. Gonsalves, I do not care to work with the
Django trunk unless I'm just playing around with something. My goal
is always to produce a production quality application. Even the more
stable than average Django trunk cannot provide the consistency needed
to deliver an app t
Nice - didn't know about TastyPie, I've tended to always write my own :)
Ty
2011/10/18 Andre Terra
> Here's my to-do list for you:
>
> * Build a REST API using django-tastypie
> * Master caching, cache invalidation, etc
> * Celery (asynchronous tasks!)
> * Learn to profile django apps, includin
On Tue, Oct 18, 2011 at 2:00 PM, Jeff Heard wrote:
> But I want to be able to invalidate my form if geocoding fails... Can I
> still do that in the save method?
>
No, save() is not part of validation. However, it is not hard to
combine the two:
In the clean() method, calculate the geocoding poi
But I want to be able to invalidate my form if geocoding fails... Can I still
do that in the save method?
On Oct 18, 2011, at 4:52 AM, Daniel Roseman wrote:
> On Monday, 17 October 2011 20:30:35 UTC+1, Jefferson Heard wrote:
> class FarmersMarket(ModelForm):
>class Meta:
> model =
Here's my to-do list for you:
* Build a REST API using django-tastypie
* Master caching, cache invalidation, etc
* Celery (asynchronous tasks!)
* Learn to profile django apps, including finding bottlenecks
* Write raw SQL
* If you have a lot of corporate clients, serialize data and export to excel
Please post your code again on something like http://dpaste.com and I'll
gladly take a look
Cheers,
AT
On Tue, Oct 18, 2011 at 9:43 AM, nav wrote:
> If anyone has any pointers as to what might be the problem please
> answer. I would greatly appreciate any help you maybe able to provide.
>
> Th
If anyone has any pointers as to what might be the problem please
answer. I would greatly appreciate any help you maybe able to provide.
Thanks.
nav
On Oct 17, 11:44 pm, nav wrote:
> Dear Folks,
>
> I am using a number of subdomains for my website and decided to create
> a custom url tag and try
englishoo speakino list only.
18-10-2011 13:15 użytkownik "mxm982" napisał:
> Ciao ragazzi ho realizzato una piccola applicazione in Django che
> aggiorna delle tabelle di uno schema gia preesistente. Ora ho la
> necessita di puntare al rach della db attraverso appunto il tsname non
> tramite sid
Ciao ragazzi ho realizzato una piccola applicazione in Django che
aggiorna delle tabelle di uno schema gia preesistente. Ora ho la
necessita di puntare al rach della db attraverso appunto il tsname non
tramite sid come viene richiesto dal file setting.py potete aiutarmi
--
You received this messa
On Monday, 17 October 2011 15:00:09 UTC+1, youpsla wrote:
>
> Hello Daniel
> thanks for your answer and sorry for my english. As you said, it could be a
> problem of translation !!! :-)
>
> I really appreciate your help, I'm doing lots of progress in my python
> object programming curve ...
>
> O
On Monday, 17 October 2011 20:30:35 UTC+1, Jefferson Heard wrote:
>
> class FarmersMarket(ModelForm):
>class Meta:
> model = models.FarmersMarket
> exclude = ('location',)
>
>def clean(self):
> place, (lat, lng) = _g.geocode(self.cleaned_data['address'])
> self.clean
Hi Kevin,
Thanks for the tips, unfortunately I think the problem is trickier than that.
The output HTML is different, because the treemenu template tags don't
output anything.
I.e. within a template that is otherwise working fine, you have:
{% load tree_menu_tags %}
{% show_menu "ukwa" %}
And
On Monday, 17 October 2011 20:28:47 UTC+1, eyscooby wrote:
>
> Ok, sorry I thought I was starting to understand it a little better,
> but now I think I took a step backwards, so if it is ok with you let's
> step back and take it a step at a time.
>
> So, my first step is wondering if I really ne
It's better to learn on a project basis. Every client has different
scope and interest and you cannot predict which apps you will need or
not. Some barely used apps may be essential for you…
But, when you ask… You may need to integrate django-registration with
your django-cms, so you can manage sy
On Tue, 2011-10-18 at 12:36 +0530, kenneth gonsalves wrote:
> On Mon, 2011-10-17 at 23:45 -0700, Kevin wrote:
> > Currently I have been focusing on the following:
> >
> > * Django 1.2
>
> 1.3 belongs to the stone age - since you are learning, it would be a
> good idea to work with the current sv
On Mon, 2011-10-17 at 23:45 -0700, Kevin wrote:
> Currently I have been focusing on the following:
>
> * Django 1.2
1.3 belongs to the stone age - since you are learning, it would be a
good idea to work with the current svn trunk, updating every week or so.
--
regards
Kenneth Gonsalves
--
You
44 matches
Mail list logo