I really don't know what might be wrong, but admin doesn't list some of my
entities. There're two links in list header saying:
1736 results 2520 total
When I click on "2520 total", it just show the same list with 1736 results. I
can open objects change-forms using their ids though.
A couple mo
On 09/18/2014 10:50 PM, James Bennett wrote:
> Are you using any third-party libraries which were installed as eggs?
>
It looks like I have several...
Third-party extensions:
django-extensions 1.3.3
django-solo 1.0.5
Non-extensions, but dependencies of extensions:
Are you using any third-party libraries which were installed as eggs?
--
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, send an email
to django-users+unsubscr...@googlegroups.com.
On 09/18/2014 10:32 PM, I wrote:
> Internal Server Error: /admin/doc/filters/
> "/home/cjwelborn/lib/python3.3/django/contrib/admindocs/views.py", line
> 314, in load_all_installed_template_libraries
> for p in os.listdir(os.path.dirname(upath(mod.__file__)))
> AttributeError:
I was just playing around after upgrading from 1.6.6, I made small
changes to my source to make it compatible. It was using the old
WSGIHandler() style for wsgi.py, so I switched to
get_wsgi_application(). I upgraded django-debug-toolbar, because it was
incompatible. Everything on my site works
I've modified an Admin with code similar to the following:
def save_formset(self, request, form, formset, change):
instances = formset.save(commit=False)
for instance in instances:
instance.user = request.user
instance.save()
formset.save_m2m()
I have same issue on my local computer. please help me,
2014년 7월 10일 목요일 오전 8시 18분 4초 UTC+9, Russell Keith-Magee 님의 말:
>
> Hi LongYuan,
>
> It's difficult to say for certain, but it looks to me like your Django
> install is corrupted. The error you're seeing indicates that an import is
> failin
Timezones are hard.
Is USE_TZ=True in your settings?
I'd highly recommend starting on this
page: https://docs.djangoproject.com/en/dev/topics/i18n/timezones/
Sid
On Thursday, September 18, 2014 9:59:55 AM UTC-4, gh224391 wrote:
>
> hello all,
> i have a form to get a date. But when i get obj
Are you using Django models?
On Thursday, 18 September 2014 02:36:53 UTC+10, Devin Cky wrote:
>
>
> 2 months ago yes !! please i need your help .. it's very importante for
> me !!!
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscri
You could always set your models to managed=False
https://docs.djangoproject.com/en/dev/ref/models/options/#managed
_Nik
On 9/18/2014 2:04 PM, Anthony Tuininga wrote:
Hi,
I just upgraded my test environment to Django 1.7 and immediately
noticed that mgirations appear to be a requirement. Sea
Hi,
I feel your pain, but I think you can utilize something with --fake
I have been using databases for many, many years, and honestly-
migrations definitely make sense. I am able to add new fields within a
few seconds without having to do any extra work. It takes 2 minutes to
learn how to use mi
Hi,
I just upgraded my test environment to Django 1.7 and immediately noticed
that mgirations appear to be a requirement. Searching the documentation and
the code itself seems to indicate that there is no way to disable it,
either. Did I miss something? I don't need or want Django to create or
i did the django tutorial and to get a better grasp i decided to make a
webpage. with 2 sections
section 1
every day will let the user vote for a restaurant before 4pm
section 2
from the restaurant with more votes will display the menu of the
restaurant and each user can chose what they want
Hi Ulrich et al,
Thanks again for your help.
I'm having issues with your solution. It works when making a literal call
to locale but Django is not using the correct locale for some reason.
I added this to my application.wsgi:
import locale
locale.setlocale(locale.LC_ALL, 'en_GB.utf-8')
I have some embed loops which iterate over league and division. I
want to print the teams in each. I obviously can't do what i tried in
line 19. Is there a way to calculate a key to a dictionary I want to
iterate over?
14{% for l in leagues %}
15 {{l}}
16 {% for d in divisions %}
17 {{d}}
18
1
That's great
Thank you very very much Helton
Le jeudi 18 septembre 2014 15:44:44 UTC+2, Helton Alves a écrit :
>
> I think this will resolve your problem. :D
>
> in admin, you use the get_queryset.
> in this case return only items of user, you can change this for return the
> items that user h
I have suddenly unicode problems with de admin interface:
"DjangoUnicodeDecodeError at /admin/art/photographextra/
'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in
range(128). You passed in ()
...
Unicode error hint
The string that could not be encoded/decoded was: l>Mus��e d
hello all,
i have a form to get a date. But when i get object from the database,
the database is not as expected, user type "18/09/2015", but after
savin, i got: 17/09/2015 22:00
here is the code:
#settings.py
TIME_ZONE = 'Europe/Paris'
#models.py
class MyEvent(models.Model):
dtstart = m
I think this will resolve your problem. :D
in admin, you use the get_queryset.
in this case return only items of user, you can change this for return the
items that user have permission.
class MyModelAdmin(admin.ModelAdmin):
def queryset(self, request):
qs = super(MyModelAdmin, self).
Hello.
It seems im stuck in the try to deploy my django project, consisting of
multiple apps, to the production server at the point of serving the static
files from the preferred directory.
system details:
- CentOS 6.5
- Django 1.6.4
- green Unicorn python server
- Nginx webserver
- python 3.3.
Hy Elton,
In fact each image belongs to an album.
Let us say I have three album ALB1 ALB2 ALB3
In the admin form, when I add an image I can attach it to either of each
Albums
or all the three if I want
What I would like is show the album list for a particuliar user.
For example Tom could only
simple ways is using form and passing values to the template from the form.
https://docs.djangoproject.com/en/dev/topics/forms/
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Mon, Sep 8, 2014 at 7:08 PM, Артём Мутерко
wrote:
> I need to list all values from request.META in Django using
I didn't understand very well.
would you like the image of the tutorial?
2014-09-18 9:59 GMT+01:00 Salvatore DI DIO :
> Hello,
>
> I am following a 'photo application' tutorial :
> http://lightbird.net/dbe/photo.html
> I have created several 'albums' to insert images in.
>
> I would like those al
Hello,
I am following a 'photo application' tutorial :
http://lightbird.net/dbe/photo.html
I have created several 'albums' to insert images in.
I would like those albums beeing displayed in the admin panel
according to each user or group
Thank your for your help
regards
--
You received th
You likely have a regular expression that is trying to match using groups,
and a '(' or ')' are missing or added as extras without a mate.
http://lmgtfy.com/?q=Python+unbalanced+parenthesis&l=1
-James
On Wednesday, September 17, 2014, ngangsia akumbo > wrote:
> i dont understand what is going o
25 matches
Mail list logo