Hi
> Le 7 nov. 2015 à 22:00, lnzy3...@gmx.de a écrit :
>
>
> It runs into an error. To me it seems like I cannot combine two models. My
> goal is to access all the tasks attached to that user, or to add a task to
> the user accessing the API at the moment
> So it would be very helpful, when s
Try changing the reverse() call to just reverse('imagelist'). I believe
reversing using the full view import path has been deprecated/removed.
That, and you named the URL 'imagelist', may as well refer to it by name.
;-)
If that doesn't work, please post the error and entire traceback that you
are
duplicated queries as in exactly the same or with different parameters? If
they hace different parameters it sounds like something you can resolve
with select_related
https://docs.djangoproject.com/en/1.8/ref/models/querysets/#select-related
Either way, you would need to post you rmodels and quer
Hi Gary,
> ├── archive
> │ ├── archive
> │ │ ├── __init__.py
> │ │ ├── settings.py
> │ │ ├── urls.py
> │ │ └── wsgi.py
> │ ├── home
> │ │ ├── __init__.py
> │ │ ├── static
> │ │ │ ├── home.css
> │ ├── manage.py
In your first example, "home" is an app (not a proj
Which is the correct file structure for static files
Putting the static files under the individual project as shown with
"home' below:
├── archive
│ ├── archive
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── settings.py
│ │ ├── settings.pyc
│ │ ├── urls.py
│ │ └── ws
On 07/11/15 06:03, Becka R. wrote:
> How can I display the data in the template so the shifts are sorted by
> day, and then by meal?
Try saving the weekday as integer (0-6), sorting using integer is much
easier than sorting using strings in non-alphabetic order :)
You can than e.g. define a defaul
That depends on your text editor. Most of them make it possible to choose
an encoding in the save dialog.
2015-11-07 21:56 GMT+01:00 Dariusz Mysior :
> How can I save in other coding, I had only option "save as" and name of
> file index.html
>
> W dniu sobota, 7 listopada 2015 21:44:25 UTC+1 użyt
How can I save in other coding, I had only option "save as" and name of
file index.html
W dniu sobota, 7 listopada 2015 21:44:25 UTC+1 użytkownik Dariusz Mysior
napisał:
>
> I try use polish letters in my template index.html but I had an error
>
>
> utf-8' codec can't decode byte 0xb3 in positio
Hello,
I guess seems that your template is saved in LATIN2 encoding (in which 0xb3
is ł). Save it in UTF-8, or set up Django to use LATIN2 as the encoding
instead of Unicode (I suggest to go with the first option, though).
Best,
Gergely
2015-11-07 21:44 GMT+01:00 Dariusz Mysior :
> I try use po
I try use polish letters in my template index.html but I had an error
utf-8' codec can't decode byte 0xb3 in position 149: invalid start byte
>
>
How can I fix it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Hi all,
I posted this on SO but have not had any interest and I'm still stuck so
would really really appreciate someone taking a look.
I have a pages app into which I have implemented TinyMCE for the main
content. This works and I am able to format content and view it on the
front end. I'm now
We just tripped across something similar here as well. The person doing the
tutorial had flipped the 'startup' and 'put "blog" in the INSTALLED_APPS'
steps of the tutorial. She commented out 'blog' from INSTALLED_APPS and
startapp worked as intended.
-scott
On Sunday, August 11, 2013 at 8:11:1
Yes sorry, deleted it ^^
class Categorie(models.Model):
nom = models.CharField(max_length=30)
slug = models.SlugField(max_length=100)
visible = models.BooleanField("Visible",default = False)
def getscateg(self):
return self.souscategorie_set.all().filter(visible = True
Did you modify your models before sending them out? You don't show any
foreign key relationships, but your queries indicate otherwise.
-James
On Nov 7, 2015 8:37 AM, "V1ce" wrote:
> Hi,
>
> I got a lot of duplicated queries (in django debug toolbag) when i load my
> menu tabs , actually it's nor
Hi,
I got a lot of duplicated queries (in django debug toolbag) when i load my
menu tabs , actually it's normal because i don't understand how to use
database optimization for this, if possible i want some advice to make my
reflexion better on this.
Models(simplify) :
class Categorie(models.
Hi,
I got a lot of duplicated queries (in django debug toolbag) when i load my
menu tabs , actually it's normal because i don't understand how to use
database optimization for this, if possible i want some advice to make my
reflexion better on this.
--
You received this message because you
Thanks for the report. I'd encourage you to use the geodjango mailing list
to raise this issue.
On Saturday, November 7, 2015 at 12:03:10 AM UTC+1, Berthier Lemieux wrote:
>
> Hi!
>
> When I try to use django.contrib.gis.db.backends.spatialite as my db engine
> on Ubuntu Wily Werewolf (15.10),
Hi Michele,
I don't if someone beat you to it but a ticket for this exact issue just
surfaced[1].
Please chime in on Trac if you'd like to follow the progress of the
resolution.
Thanks,
Simon
[1] https://code.djangoproject.com/ticket/25693
Le vendredi 6 novembre 2015 11:01:35 UTC+1, mccc a é
Hi,
I have a class project partially done with Django, but my lab partner has
done her part in Codeigniter. I was wondering if it is possible to merge
these two and complete the project?
Any thought would help. Thank you in advance!
--
You received this message because you are subscribed to th
19 matches
Mail list logo