Hello together,
i have the following problem. I need to save different versions of an
article in a json object:
{
"1580388458.2877874": {
"title": "Erster Artikel",
"text_block_with_image": [{"text": "Super Text der einen weiterhilft",
"image": "http://test.de/test.jpg"}]
},
"1580388556.64622
Hello together,
with PASSWORD_RESET_TIMEOUT_DAYS I can manage the days till the password
reset token will expire. After that the page will just reload, when you try
to set a new password.
Is it possible to show an error message then? Is there a workaround?
Thank you,
Danny
--
You received this
Hello together,
i found out that i can set a PASSWORD_RESET_TIMEOUT_DAYS variable in
settings.
This worked for me. After one day the token is expired and when i try to
set a new password, the page does a reload.
So nothing happens. This is correct. Is there a good way / workaround to
get an erro
Thanks Collin!
Am Donnerstag, 4. September 2014 19:47:08 UTC+2 schrieb Collin Anderson:
>
> It hasn't been decided yet, and it's not necessarily 1.7. See the thread
> on django-developers.
> https://groups.google.com/d/topic/django-developers/KweKHgdIiz0/discussion
>
--
You received this messag
Hi all,
Django 1.4 is the current Long-term support (LTS) release that lasts until
end of March 2015.
I am curious which is the next LTS release? Is it Django 1.7?
Regards,
Philippe
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
Hello, I wrote a test management Command:
def start_daemon():
pidfile_rule = "/tmp/ihe_test.pid"
p = str(os.getpid())
file(pidfile_rule, 'w').write(p)
while True:
print "Hello"
sleep(10)
class Command(BaseCommand):
help = 'Starts or stops the daemons'
opti
Hello,
currently I am writing an application that will run a daemon. However I am
stuck:
What I have so far:
created a project called "ihe", with an app called "devices". Inside
devices there is "admin.py", "forms.py", "__init__.py", "models.py",
"urls.py", "views.py".
There are also several
On Wed, Jun 27, 2012 at 5:27 PM, Thomas Lockhart wrote:
> On 6/27/12 11:48 AM, David Wagner wrote:
>
> Looking at that I think I may need to add a foreignkey to cert_types
> relating to person since a person can have multiple certification types
> (NRA Instructor, CCL Instructor, etc
n Wed, Jun 27, 2012 at 3:31 PM, Dennis Lee Bieber wrote:
> On Wed, 27 Jun 2012 11:48:22 -0700, David Wagner
> declaimed the following in gmane.comp.python.django.user:
>
> > Looking at that I think I may need to add a foreignkey to cert_types
> > relating to person s
Looking at that I think I may need to add a foreignkey to cert_types
relating to person since a person can have multiple certification types
(NRA Instructor, CCL Instructor, etc).
On Wed, Jun 27, 2012 at 11:40 AM, David Wagner wrote:
> i think I may just be over thinking this. The last tim
translation.
On Wed, Jun 27, 2012 at 10:55 AM, Dennis Lee Bieber
wrote:
> On Wed, 27 Jun 2012 08:02:37 -0700, David Wagner
> declaimed the following in gmane.comp.python.django.user:
>
> >
> > class NRA_Certs(models.Model):
> > CRSO = models.BooleanField(blank=True,
e
>
> class License(models.Model):
> name = models.CharField(max_length=255)
> expiration = models.DateField(blank=True, null=True)
> details = models.TextField()
>
> With something like this, the User could have multiple licenses like:
> Concealed Carry 5/10/2015 an
I'm a self taught programmer who hasn't done much of anything for years so
please forgive me if this question is naive. I have a hard time sometimes
understanding some of the lingo used by trained programmers.
With that said, I'm having trouble wrapping my brain around the ManyToMany
and Many-T
Hi,
I have the following model layout:
class A(models.model):
options = models.ManyToManyField(OptionSet, blank=True, null=True)
values = models.ManyToManyField(Value, blank=True, null=True)
class OptionSet(models.model):
name = models.TextField(unique=True)
values = models.ManyT
Thank you very much for your help
On Sep 29, 4:25 pm, Tom Evans wrote:
> On Thu, Sep 29, 2011 at 3:16 PM, Felix Wagner
> wrote:
> > Ok, so now i have:
> > ..
> > > ...
> > Now if i click next page I get an empty page because:
> >http:/
url entry and do i have to give the poaginator the
query or do I have to save the query somewhere?
Also thank you for your help.
On Sep 29, 3:51 pm, Tom Evans wrote:
> On Thu, Sep 29, 2011 at 8:36 AM, Felix Wagner
> wrote:
> > Hello,
>
> > I'm curre
Hello,
I'm currently trying to paginate my results from a search query.
views.py:
def search(request):
query = request.GET.get('q', '')
if query:
qset = (
Q(NAME__icontains=query)
)
results = Thin_Client.objects.filter(qset).distinct()
else:
Please, count me in.
On Jun 22, 2011 10:15 AM, "Cal Leeming [Simplicity Media Ltd]" <
cal.leem...@simplicitymedialtd.co.uk> wrote:
> Hi all,
>
> Some of you may have noticed, in the last few months I've done quite a few
> posts/snippets about handling large data sets in Django. At the end of
this
>
Figured it out...
STATICFILES_DIRS = ( STATIC_ROOT,)
Had to add my static root directory to the static files dir...
Am I doing something kludgy or is the current documentation revision
in the SVN wrong?
-Wes
On Jan 23, 10:32 am, Wes Wagner wrote:
> I just started building a new app in
ny of them under runserver. (not found)
Thus admin runs without any css or graphics
Settings:
MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = "C:/Users/Wes Wagner/PycharmProjects/APP/static/"
STATIC_URL = '/static/'
ADMIN_MEDIA_PRE
of a sql where not exists clause.
Is there a way to do this without using .extra() and using just normal
django?
-Wes Wagner
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googl
That switched the lightbulb on above my head. Thanks!
-Wes
On Oct 31, 8:16 am, Shawn Milochik wrote:
> Context processors, or a custom template tag, as described in James Bennett's
> book, "Practical Django Projects."
--
You received this message because you are subscribed to the Google Grou
base.html
with every view call. Each time the left nav in base.html would be
rendered it would need to draw data from a couple different apps I
have installed on the site.
Can someone point me in the right direction?
-Wes Wagner
--
You received this message because you are subscribed to the Google
> > Thank you for the explanation. I think this trick is not in the
> > Documentation yet
>
> That's because it's pretty basic Python knowledge. I'm sure I've read
> on this list that basic Python knowledge isn't supposed to be
> documented in Django as it's already part of the official Python
Hi John
On Apr 24, 12:25 pm, John Crawford wrote:
> > Django doesn't ship anything for XML serialization or deserialization,
> > but Python does.
>
> Actually, Django does provide that capability, at least in 1.0/1.1:
>
> http://docs.djangoproject.com/en/dev/topics/serialization/#topics-ser...
On Apr 24, 9:12 am, Masklinn wrote:
> On 24 Apr 2009, at 16:24 , Carmine wrote:
>
> > On Fri, Apr 24, 2009 at 2:41 PM, Masklinn
> > wrote:
>
> >> On 24 Apr 2009, at 10:55 , earcar wrote:
> >>> 1. does Django support REST queries?
> >> I fear that question doesn't make any sense, REST is an a
On Apr 20, 2:57 am, x_O wrote:
> Hi
>
> I'm looking for some general solution how to split models.py. Right
> now my models.py reached 1000 lines and that argues some how with good
> programing behaviour that I used use.
>
> I'm thinking about:
> myproject/
> settings.py
> myapp/
>
On Apr 14, 6:55 pm, Graham Dumpleton
wrote:
> On Apr 15, 7:49 am, Alex Loddengaard wrote:
>
>
>
> > I've found several messages on this list discussing ways to send large files
> > in a HttpResponse. One can use FileWrapper, or one can use a generator and
> > yield chunks of the large file.
28 matches
Mail list logo