On May 23, 2012, at 1:41 PM, Tanuva wrote:
> Am 22.05.2012 23:52, schrieb akaariai:
>> On May 22, 11:51 pm, Tanuva wrote:
>>> Moin,
>>>
>>> lately, I wanted to switch my database from the testing sqlite file to a
>>> more productive pgsql 8.4 server. Now I'm constantly
ust want use git in your development, don't care the remote is
> svn or git, you can try git-svn, this is a great tool for git clone and
> manage svn repo!
>
> Best regards,
>
> Rivsen
>
> 2012/5/4 Stanwin Siow <stanwin.kts...@gmail.com>
> Hello there,
>
>
django-registration and django-paypal in GIT?
Or would the functionalities be the same?
I'm asking this is because i discovered a break in the program after the
migration.
Any help or advice is appreciated.
Thanks in advance!
Best Regards,
Stanwin Siow
--
You received this message
check your Media_root in settings.py.
It could be a missing stroke.
Best Regards,
Stanwin Siow
On Apr 3, 2012, at 8:14 AM, Homer wrote:
> I met "404" page not found when I try to enter 127.0.0.1:8000/cn/bedroom . It
> says on the webpage that "C:/Django/final/media/be
ok i managed to get it to work by using filter.
Cheers
Best Regards,
Stanwin Siow
On Mar 27, 2012, at 3:32 PM, Denis Darii wrote:
> I think the error "Memberships has no attribute all" is not related to your
> QuerySet. Try to look deeply into your code.
>
> B
I tried changing it to what you said.
It's still showing the error.
"Memberships object has no attribute all"
This only happens when i use get. When i use order_by. the page shows but with
unnecessary options.
Best Regards,
Stanwin Siow
On Mar 27, 2012, at 3:32 PM, Denis D
this is a trivial question but i've been through the tutorials
https://docs.djangoproject.com/en/dev/topics/db/queries/
and i don't unds where this error is coming from.
Do appreciate any help rendered.
Thank you.
Best Regards,
Stanwin Siow
--
You received this message because you
ok thank you.
I'll take a look tonight.
Cheers
Best Regards,
Stanwin Siow
On Mar 22, 2012, at 6:30 PM, Daniel Hilton wrote:
> On 22 March 2012 10:20, Stanwin Siow <stanwin.kts...@gmail.com> wrote:
>> hey daniel,
>>
>> I used the johnbox version.
>>
&
hey daniel,
I used the johnbox version.
Should be ok right?
Best Regards,
Stanwin Siow
On Mar 22, 2012, at 6:01 PM, Daniel Hilton wrote:
> On 22 March 2012 05:47, Jonathan Baker <jonathandavidba...@gmail.com> wrote:
>> You'll need to enable the CSRF middleware, adjust you
?
I would appreciate any help rendered.
Thank you.
Best Regards,
Stanwin Siow
--
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,
Best Regards,
Stanwin Siow
--
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...@google
found are documentations on git hub that don't give a clear
picture.
if there is a better solution i am all ears.
Appreciate any kind of help offered.
Thanks!
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Google Groups
"Django users&q
o take
a look at it.
I've had a brief read.
One thing that's bothering me is if i do use Pinax, do i have to rewrite
everything again?
Best Regards,
Stanwin Siow
On Mar 5, 2012, at 9:53 PM, roy moss wrote:
> Pinax is an open-source platform built on the Django Web Framework. By
>
what is Pinax?
And this is not a learning exercise.
Well i'll still want to know the other way too.
Best Regards,
Stanwin Siow
On Mar 5, 2012, at 9:41 PM, Alec Taylor wrote:
> DRY principle is what Django is all about.
>
> Use Pinax instead of developing your own Profi
Even after doing that,
The error still occurs. And my data is still unsaved in the database.
Should i be creating a backend?
Best Regards,
Stanwin Siow
On Mar 5, 2012, at 7:13 PM, nicolas HERSOG wrote:
> I looked at my code in order to notice diffs.
>
> You should add return
/complete/$',direct_to_template,{'template':
'registration/registration_complete.html'},name='registration_complete'),
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Thanks creecode.
I totally forgot about that! cheers for pointing that out!
Best Regards,
Stanwin Siow
On Mar 3, 2012, at 11:52 PM, creecode wrote:
> def __unicode__ ( self ):
>
> return '%s' % self.pk
--
You received this message because you are subscribed to t
nks!
Best Regards,
Stanwin Siow
--
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.c
JSON Data: " + response.new_list.keyword);
},
i see. Thanks guys.
I've got it working thanks to your inputs.
Really appreciate it.
Best Regards,
Stanwin Siow
On Feb 27, 2012, at 4:36 PM, doniyor wrote:
> yes, as Ian said, you need name attr in your input so that you can
> navigate to the real string input the user
It's ok guys!
I figured out the error.
At the end of the method we were returning 0 and 1 that will throw the error.
Is there some rule in django that we are not supposed to return integers?
Best Regards,
Stanwin Siow
On Feb 27, 2012, at 5:38 AM, Mario Gudelj wrote:
> In print 't
,
The following error throws at those two lines.
Err: sequence item 0: expected string, int found
Is there something wrong with the module?
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
too.
How then do i implement the queryset needed?
This should be clearer.
Thank you.
Best Regards,
Stanwin Siow
On Feb 26, 2012, at 6:25 PM, Daniel Roseman wrote:
> Your question is not at all clear. You can use whatever you like in your
> view. What problem are you having?
> --
>
column's information in
my views.py.
Hope that makes it clearer.
Best Regards,
Stanwin Siow
On Feb 26, 2012, at 6:25 PM, Daniel Roseman wrote:
> Your question is not at all clear. You can use whatever you like in your
> view. What problem are you having?
> --
> DR.
&g
html = form.errors.as_ul()
response = simplejson.dumps({'success':'False', 'html':html})
if request.is_ajax():
return HttpResponse(response, mimetype='application/json')
else:
return HttpResponseRedirect("/")
Best Regards,
Stanwin Siow
--
You received
Check your urls.py there could be conflicting statements:
http://stackoverflow.com/questions/4174610/django-admin-page-not-found-at-admin
Check out the stackoverflow question
Best Regards,
Stanwin Siow
On Feb 23, 2012, at 11:20 AM, shartha wrote:
> I have "django.contrib.admi
check your settings.py file to ensure that you have the admin line uncommented
in installed apps.
Best Regards,
Stanwin Siow
On Feb 23, 2012, at 10:58 AM, shartha wrote:
> Hello,
>
> I am trying to deploy a simple django site. The host I have chosen
> installed d
Thanks akaarial and bill,
Much appreciated for the help on getting me to understand more about django. :)
Best Regards,
Stanwin Siow
On Feb 20, 2012, at 5:11 AM, akaariai wrote:
> On Feb 19, 1:42 pm, Stanwin Siow <stanwin.kts...@gmail.com> wrote:
>> Hello,
>>
Try removing
"Event Type",
in the following
message = models.CharField("Event Type", max_length=12,
choices=EVENT_TYPE_CHOICES)
Best Regards,
Stanwin Siow
On Feb 21, 2012, at 8:32 AM, larry.mart...@gmail.com wrote:
> ield("Event Type", max_length=12,
>
Cheers bill!
Figured it out already.
However i'm stuck on the database problem which i wrote in a separate email.
Stan
Best Regards,
Stanwin Siow
On Feb 19, 2012, at 9:34 PM, Bill Freeman wrote:
> Yes, you can, as part of the extra context, by whatever name doesn't
> collide. Th
so much.
Screenshot below:
Best Regards,
Stanwin Siow
--
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-u
ofile.username = user.username %}
that will give me the list of items in userprofile table in the database.
Is there a way to include the list of items from the keyword table as well?
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Googl
Awesome!
Thank you and have a great Weekend! :D
Best Regards,
Stanwin Siow
On Feb 17, 2012, at 1:50 AM, Alasdair Nicol wrote:
> Hi Stanwin,
>
> On 16/02/12 17:43, Stanwin Siow wrote:
>> Hello,
>>
>> I'm trying to modify the default registration forms.py b
is i would like keywords to be a drop down menu of keywords which are
derived from the keyword database table.
Can someone check if what i'm doing is correct?
Thank you!
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Google Groups
"Djan
I did.
When admin.autodiscover() was uncommented out,
It gives the syntax error when my admin.py was only as such:
from r2.models import Keyword
from django.contrib import admin
admin.site.register(Keyword)
Best Regards,
Stanwin Siow
On Feb 15, 2012, at 5:20 PM, Ervin Hegedüs wrote
ok i figured where that error was coming from.
It was from the method: admin.autodiscover()
What does this method do?
Best Regards,
Stanwin Siow
On Feb 15, 2012, at 3:12 PM, Mike Dewhirst wrote:
> On 15/02/2012 5:41pm, Mike Dewhirst wrote:
>>>
>>> invalid syn
it is to no avail
think that's only for modifying the admin.
Best Regards,
Stanwin Siow
On Feb 15, 2012, at 2:41 PM, Mike Dewhirst wrote:
> On 15/02/2012 5:10pm, Stanwin Siow wrote:
>> Yes i have gone through the tutorial.
>>
>> And i've gotten my website up and runni
',
'r2.statistics',
'paypal.standard.ipn',
)
besides the tutorial basically just says to uncomment the lines and we should
access the page through localserver/admin
Thanks for looking into this
Best Regards,
Stanwin Siow
On Feb 15, 2012, at 2:08 PM, Mike Dewhirst wrote:
> On 15
it's supposed to be django's admin page.
I don't have an admin.py in my project folders
Best Regards,
Stanwin Siow
On Feb 15, 2012, at 1:46 PM, Mike Dewhirst wrote:
> On 15/02/2012 4:39pm, Stanwin Siow wrote:
>> Hi there,
>>
>> i'm getting this error when trying to
Hi there,
i'm getting this error when trying to get the default admin page up.
invalid syntax (admin.py, line 1)
Any ideas where to rectify this?
Thanks in advance
Best Regards,
Stanwin Siow
--
You received this message because you are subscribed to the Google Groups
"Django
gt; 'PORT': '', # Set to empty string for
>> default. Not used with sqlite3.
>> }
>
Best Regards,
Stanwin Siow
On Feb 13, 2012, at 9:03 PM, ajohnston wrote:
> Try changing the slashes form \ to /
>
> On Feb 13, 4:50 am, Marcus Maximus <mar
can you show the actual error output?
Best Regards,
Stanwin Siow
On Feb 10, 2012, at 4:58 PM, kalyani ram wrote:
> Thank you very much. I managed to come out of this error and ended up
> with a new one.
> I get an error saying that the Name field is wrong. If i have not
> mist
Hi
You need to install the package psycopg2. Google and install the package.
It should work
Best Regards,
Stanwin Siow
On Feb 9, 2012, at 10:10 PM, kalyani ram wrote:
> Hey all,
> Tday is my first day with django and i tried configuring postgresql as
> a backend and got an e
Hello,
Any luck on this yet?
Best Regards,
Stanwin Siow
On Jan 31, 2012, at 11:39 AM, St@n wrote:
> Hello,
>
> I am playing around with tastypie and i want to create a hierarchy of
> data.
>
> What i currently have is this:
>
>
> class keywordResource(
ok got it. I read the document and it was good stuff.
Just got confused with copying pasting into my models.py. Thanks alot once
again.
:)
Best Regards,
Stanwin Siow
On Jan 30, 2012, at 10:02 PM, Michael Elkins wrote:
> On Mon, Jan 30, 2012 at 09:53:18PM +0800, Stanwin Siow wr
sorry to bother you again michael
but once my terminal creates the model classes do i have to copy it into my
app's model.py?
I wanted to be sure.
Best Regards,
Stanwin Siow
On Jan 30, 2012, at 9:35 PM, Michael Elkins wrote:
> On Mon, Jan 30, 2012 at 09:26:10PM +0800, Stanwin Siow wr
Thank you so much.
This information is very useful. It work like a charm for me.
Thank you once again mike. Cheers
Best Regards,
Stanwin Siow
On Jan 30, 2012, at 9:35 PM, Michael Elkins wrote:
> On Mon, Jan 30, 2012 at 09:26:10PM +0800, Stanwin Siow wrote:
>> However what does t
hi michael,
Thanks for the tip. It is a huge step in my progress.
However what does this error say?
ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined.
Best Regards,
Stanwin Siow
On Jan 30, 2012, at 8:37 PM, Michael Elkins wrote
48 matches
Mail list logo