Re: Digest for django-users@googlegroups.com - 14 updates in 2 topics

2024-02-24 Thread EDWIN NIWAHA
I am Interested. +256 787320738 On Sat, Feb 24, 2024, 4:01 PM wrote: > django-users@googlegroups.com > > Google > Groups > >

Django server not working on my windows pc

2019-10-16 Thread Edwin Cooper Van Dyke
I do exactly same as tutorial but when I map url, it get either server not connected or circular import error, no sr import Error -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Django Client Put method Data Access from Request View

2013-06-07 Thread Edwin Lunando
Hi everyone, I'm building a REST API and i need to use the Client.put() method. For example response = self.client.put(reverse('api:update_user'), {access_token: '123123123123'}) When I run the test, I do not know where the data is placed. request.GET and request.POST is empty.

Re: PHP vs Django

2013-01-27 Thread Edwin Lunando
Although, your question is out of topic, let me share my experience. Most of the times, framework skill is only a plus in your resume. Your algorithm skill, application design, and analysis is the major component that will determine that you will be hired or not(if you apply as a software

Re: PHP vs Django

2013-01-27 Thread Edwin Lunando
Your question final answer is always go with your preference. PHP and Django is a whole different thing. PHP is a language and Django is a framework. If I tell you what to choose to build a web app, go for Django because it is a framework. Code a web app from scratch by PHP is just tormenting.

Model user with pk 1L does not exist at Admin

2013-01-27 Thread Edwin Lunando
Here is my model: class UserSIMS(models.Model): TATA_USAHA = 0 DOSEN = 1 MAHASISWA = 2 TYPE_CHOICES = ((TATA_USAHA, 'Tata Usaha'), (DOSEN, 'Dosen'), (MAHASISWA, 'Mahasiswa')) user = models.OneToOneField(User) type = models.IntegerField(choices=TYPE_CHOICES) # 0 = TU 1 =

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
I > > It makes sense, since my guess is that you have Python 3.2 installed. > Django 1.4 does not support python 3.x, only 2.5 through 2.7. Django 1.5 > will be the first release supporting Python 3.x. > > -- > Melvyn Sopacua > It doesnt make much sense when i have django version 1.5:

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
On Tuesday, August 28, 2012 11:47:09 AM UTC+2, Melvyn Sopacua wrote: > > On 28-8-2012 11:21, Snorre Edwin wrote: > > It didnt seem to work. All i get is the error: > > > > C:\Prosjekter\Djangotest\testproject>python manage.py shell > > ImportError: No module

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
> Run the batch file above from the directory it was created in > > > > cd > > manage.py shell > > On Tuesday, 28 August 2012 09:01:25 UTC+10, Snorre Edwin wrote: >> >> Im on the Playing with the API part and seem to catch some troubles. >> Everything has gon

Problems with first tutorial

2012-08-27 Thread Snorre Edwin
Im on the Playing with the API part and seem to catch some troubles. Everything has gone smoothly until this part. I write this and get the next error. This is with my enviromen_variable: DJANGO_SETTINGS_MODULE set to where I can find the settings.py in my project.

Re: Weird behaviour in Django logging (Django 1.3 RC)

2011-03-09 Thread Edwin
I've had help from SO: http://stackoverflow.com/questions/5249265/strange-behaviour-in-django-logging-django-1-3-rc/5250829#5250829 The solution is simply to explicitly call self.format(record) on my emit() method under DatabaseHandler. Hope this helps whoever face a similar problem. -Edwin

Re: Weird behaviour in Django logging (Django 1.3 RC)

2011-03-07 Thread Edwin
ategory, type_id=type_id, message=record.message, user=user) Thanks again. On Mar 5, 10:59 pm, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Sat, Mar 5, 2011 at 10:41 AM, Edwin <edwinja...@gmail.com> wrote: > > I'm getting a strange

Weird behaviour in Django logging (Django 1.3 RC)

2011-03-04 Thread Edwin
I'm getting a strange behaviour when setting up logging. Here's my logging configuration: LOGGING = { 'version': 1, 'disable_existing_loggers': True, 'formatters': { 'admin_configuration': { 'format': '%(asctime)s %(levelname)s %(category)s % (sub_category)s

Import problem: app name cannot be the same as project name?

2011-01-21 Thread Edwin
I have an app that's called the same way as my project name (let's name it 'blog'). My directory structure is: blog apps blog models.py books management models.py Everything works fine except that when i created a custom command inside another app,

running Django on a very small VPS

2008-08-27 Thread Edwin W
I was just wondering whether anyone out there has experience with running a Django application on a really small VPS. I'm using Django for small personal projects and experimentation, and I found vpslink which has a plan with 2.5 GB of disk space but only 64 MB RAM. I know that it won't work

Re: Showing images in Django Admin

2007-04-04 Thread Edwin W
The django filebrowser admin extension may be close to what you're looking for, it will display thumbnails of images on a filesystem being browsed. I'm not sure how it integrates with the models though, haven't tried it myself. You'll need PIL as pointed out on the website.