I think you need to provide more details. Which server are you using?
Django version? Can you create a 1 page django project in the same way?
Does it exhibit the same issue?
sexta-feira, 28 de Agosto de 2015 às 19:46:51 UTC+1, Sumit Chansouliya
escreveu:
>
> Hi All
> I am learning Django . I
Hi,
Sounds cool! Do you have screenshots / demos to see before installing?
Thanks,
Kind regards,
quinta-feira, 30 de Julho de 2015 às 22:46:12 UTC+1, Luciano Ferrari
escreveu:
>
> Last April we finished the development of a dynamic form builder, called
> pulpo-forms, to use within a Django Proj
You could simply add
csrfmiddlewaretoken:
document.getElementsByName('csrfmiddlewaretoken')[0].value,
to the parameters on $.post. That would surely prevent the 403.
Em segunda-feira, 30 de maio de 2011 12:03:46 UTC-3, doktoreas escreveu:
>
> Thank you very much, for your help and your code.
Check if you have a comma after the string.
log = ClassroomLog.objects.get(...)
log.text = "Hallo"*,*
log.save()
Sexta-feira, 21 de Novembro de 2014 11:57:40 UTC, Sabine Maennel escreveu:
>
> Hello,
>
> I do not know why this is happening: If I try to update a database record
>
Hi,
I'd like to implement an autocomplete functionality for a text field that
is defined via a normal form class (forms.Form, not a ModelForm) and
rendered automatically via cryspy-forms (although this is not a
requirement).
Autocomplete suggestions should have some kind of template (not simply
Hello,
this is a remote work?
Tiago
On Tuesday, August 19, 2014 8:02:40 AM UTC-3, Subhish Nair wrote:
>
>
>
> *Hi,*
> *I am Subhish Nair, BDE of SparkSupport Infotech Pvt Ltd.*
>
>
>
> *About Us :Sparksupport* is an agile organization with an impeccable
> rec
Try to update both your python and your mysql<-> python bindings. The
libraries you are using are either incompatible or have a bug.
Good luck
Sexta-feira, 8 de Agosto de 2014 5:21:44 UTC+1, Tianwei Sheng escreveu:
>
> Hi, all,
>
> Recently I constantly met segmentation fault for my django serve
Hi ,
try Symfony2.
Symfony template language has the same syntax as django templates. Only the
template filters have different names but similar functions.
It does not have an admin as good as django's. There are third party apps
(called bundles in the context of symfony) that try to do that (e.
t. Right now you're
> passing it as a positional string due to the quotes.
>
> On Sunday, February 17, 2013 10:34:12 AM UTC-8, Tiago Carvalho wrote:
>>
>> Hello,
>>
>> I'm new to Django and I'm with an error, passing data from views to
>>
Hello,
I'm new to Django and I'm with an error, passing data from views to
templates.
Here is the traceback: http://dpaste.com/942117/
Request URL: http://localhost:8000/about/
Django Version: 1.4.3
Exception Type: AttributeError
*Exception Value: 'str' object has no attribute 'update'*
Excepti
Create a django command to do the job and put it in the crontab
On Wednesday, September 26, 2012 9:07:23 AM UTC-3, surya wrote:
>
> I have to use RSS/ Atom feeds of blogs in my Django app. So, I thought to
> use Google Feed API. All the API provides is a BIG list of feeds..
>
> If I need a post
We had similar problem a few months ago, one join in only two tables (but
those two tables were big, very big) we solve the problem denormalizing the
table. So everytime we save some row for table1, we update the table2 with
a column table1_name_cache. In the list, we display this column.
On
Have you tried changing the THUMBNAIL_STORAGE setting? I haven't done what
you ask for but you should give it a try.
http://thumbnail.sorl.net/reference/settings.html#thumbnail-storage
Domingo, 29 de Abril de 2012 17:27:56 UTC+1, Swaroop Shankar escreveu:
>
> Thanks Kelly, could you tell me wh
Hi Bob Kline,
May be that this link help you:
http://teago.futuria.com.br/tip/4/
Tiago
On Mon, Jan 2, 2012 at 12:39 AM, Bob Kline wrote:
> I'm moving a django site to a shared hosting server, where I'll need
> to use fastcgi (the site on the original server is using mod_pytho
"Business Logic" is too broad to give you a good answer. If you mean
stuff like calculating salaries (if your domain is HR) or determining
if a 'monster' is dead (for a game) then django should pose no
obstacle since it is based in python and you should implement all that
logic in your own business
Hi,
I'm assuming you have lots of html files that you want to serve. You
could try writing a catch all url pattern that is handled by a generic
view to serve these html files. I'm not sure if there is something
already like this in django itself.
However, if you don't want/need to process the html
Does it need to be a vps? there are much cheaper shared hosting
alternatives for django.
I don't recommend going forward with apache with so few ram, use nginx
or lightppd.
Best regards,
On Nov 28, 4:30 pm, Andre Lopes wrote:
> I need to put in production a Django website, but I don't know what
>
Hi,
I think you need to be more specific. What do you mean with "i want to
be able to view the page as i edit it". What page? Do you mean what
you see in the browser? If so, you need something like
aloha editor (http://aloha-editor.org/) and you need to integrate it
in your app.
Best regards,
O
Something I found but never had the time to try:
http://code.google.com/p/uml-to-django/
Hope it helps.
On Oct 13, 6:34 am, Apurv Verma wrote:
> Hii all,
> I am making a web application in Django. What tools are available to
> create class diagrams which can then later autogenerate the code
>
As far as I know, Django does not ship with that by defaut. Try
searching for an app or a snippet on http://djangosnippets.org
It shouldn't be too hard to do.
Best regards
On Aug 10, 1:31 pm, Hayyan Rafiq wrote:
> Which form element giveds the tree control ??
>
>
>
>
>
>
>
> > Date: Tue, 9 Aug 2
Try opening a django shell and calling send_mail by hand to see what
exception you get (if any).
Best Regards,
On 17 Jun, 07:27, raj wrote:
> Hey guys,
>
> I have a webfaction account, and I was trying to get a contact form
> working for my website. The problem is that I can't seem to get it to
>
I use http://djangohosting.ch/ for a small company website and haven't
experienced any issues on the last 4 months.
It is a shared hosting account but the machine is quite beefy and
always idle :)
you pay 12€ every 3 months.
It is very easy to deploy django project there, unlike vps where you
have
Can you provide more details?
What error are you getting? Or you get no error and no output?
Are you sure you are inserting "somelist" in the context?
Is somelist a list of integers or is it an object with an attribute
int_item that is a list of ints?
Br,
On Apr 30, 10:42 pm, Jason <1jason.whatf.
I've been using a shared hosting at djangohosting.ch and I am happy.
Lowest plans start at 4€/month, you only have to pay 3 months in
advance. Servers physically in europe (might be important due to
response times) and very simple web based installer for django apps.
Good luck.
On 9 Mar, 09:53, C
Hi,
Your files seem fine, I believe.
Have you found the cause? What version of python and django are you
using? I also have this issue but it is not often enough for me to
worry too much. Killing the server and restarting it solves it for
me..
BR,
On 3 Jan, 08:00, daniels wrote:
> Here
Hi, change the encoding of the html file to 'utf-8'.
If you're using eclipse(pydev), you can do this by going to Edit ->
set encoding. (or something like that)
I remember it is the last choice in one of the top menus and it reads
"Set enconding".
Best regards,
Tiag
I want to keep my dedicated server for my company, where can i find a
tutorial, the best choices for OS.
Thanks
--
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...@googlegroups.com.
To unsubscribe f
I bet this is a ploy of the django team to draw in more developers...
---
Tiago Mikhael Pastorello Freire
Av. Getúlio Vargas, 901 sala 1502
Bairro Menino Deus
Porto Alegre
CEP 90150-003
+55 (51) 3012-7080
www.cert-id.com.br
On Feb 26, 2010, at 3:16 AM
Someone can help me?
Thanks.
On 2 out, 15:55, Tiago Samahá wrote:
> Hello All,
>
> i'm trying generate a single form with two models.
>
> class Contact(models.Model):
> phone = models.CharField(max_length=8)
> email = models.CharField(max_length=50)
>
Hello All,
i'm trying generate a single form with two models.
class Contact(models.Model):
phone = models.CharField(max_length=8)
email = models.CharField(max_length=50)
class Client(models.Model):
name = models.CharField(max_length=50)
type = models.CharField(max_length=10)
Try this:
def get_active_members(self):
return return self.get_query_set().filter(is_active=True)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
I`d go with the first. It`s easier to get the current logged in user and all
other pluggable apps use User, so it's a common thing to do and you can
integrate things easily .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
rong path
> here. The above comes back with a TypeError saying "unhashable type:
> 'list'" ... I'm guessing that you can't put a list in place of the raw
> string that the patterns method expects. So, my question is... how do
> I get patterns to match al
If it's simple enough, check FlatPages. Comes bundled with django, so you
have it running within minutes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djan
ck (most recent call last):
> File "", line 1, in
> AttributeError: 'QuerySet' object has no attribute 'modify_dt'
>
>
>
--
Tiago Serafim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
filter returns a list, with zero or more elements. To fix what you showed,
you should call "get" instead of "filter". "get" either return a object or
throws an Exception. Check the docs for more info.
--~--~-~--~~~---~--~~
You received this message because you
e advice about my coding style, you get
> bonus points for heaven and I love you till the end of my life. :-D
>
> Thanks in advance,
> nick
>
> >
>
--
Tiago Serafim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Yes, it's inefficient. Yes, there's a way to do what you want:
memberships = Membership.objects.all().select_related('group', 'person')
;-)
On Mon, Sep 14, 2009 at 5:27 PM, W.P. McNeill wrote:
>
> Is this inefficient? Is there a way to do this with a si
You should query Membership like you do with any other model.
paul = Person.objects.get(...)
beatles = Group.objects.get(...)
membership = Membership.objects.get(person=paul, group=beatles)
print membership.join_date
--~--~-~--~~~---~--~~
You received this message
I recommend http://repositoryhosting.com/ . I needed the support a couple of
times and they were *very* responsive. The service is great and the price is
very fair.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
>
> {% endfor %}
>
>
> can you help me to write it
>
> Thanks Luca
> >
>
--
Tiago Serafim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
Hi,
First you should have an attribute "name" on your select. It's needed to
pass the value when the form is submitted.
If your select's name is "foos_combo", then your code you'll look like this:
def foo_relatory(request):
if request.method == 'POST':
foos_combo = request.POST['foo
What about django-easytree? I'm tempting to try it.
http://bitbucket.org/fivethreeo/django-easytree/overview/
On Sep 4, 6:30 am, Aljosa Mohorovic
wrote:
> On Sep 3, 5:51 pm, Sandra Django wrote:
>
> > Sorry, a cuestion because I don't understand.mpttrequires v1.1, but not
> > SVN version?
>
>
another one) and add an attribute id="top" on
your "body" tag.
HTH,
On Sun, Sep 13, 2009 at 1:55 AM, Margie wrote:
>
> Hi Tiago,
>
> Thanks very much for your response. So is there a way I can tell the
> client that I don't want to retain the same anchor?
o"`` ``"no"`` (converts None to
> False
>if no mapping for None is
> given.
>== ==
> ==
>"""
>
> I would like to document my own
k/12/ HTTP/1.1" 302
> 0
> [12/Sep/2009 18:16:52] "GET /taskmanager/edit_task/12/ HTTP/1.1" 200
> 50904
>
> So the #comment_101 is not there, yet it still appears in my firefox
> browser. Anyone know why this is?
>
> Thanks,
> Margie
>
>
>
>
Hi,
You can take a look on how the contrib.redirect handles 404 and then create
a custom Middleware for your specific need.
http://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/middleware.py
HTH,
Tiago
On Fri, Sep 11, 2009 at 11:26 PM, Jordon Wii wrote:
> Hi,I want
ch been used on
open source apps.
> 2. Does Django have dynamic loading of stylesheet and javascript files
> (as rails)?
>
>
You have to load yourself. You can use the MEDIA_URL context variable to
help you to not hardcode paths. Like this:
HTH.
--
Tiago Serafim
--~--~-~-
he development server and
> not Apache?
>
> Most of my js is linked. Oh, maybe I should make it local and see what
> that does. I will try that and if it works, I will respond to my own
> problem, if not, I will leave this open.
>
&
Hi,
Take a look on this opensource app. It's a helpdesk system and it
receives email and process then afterward.
http://code.google.com/p/jutda-helpdesk/
Regards,
On Jan 16, 4:11 pm, zweb wrote:
> i can send emails easily using django.
>
> I want to set up an email address, where users can se
Hello again Bruno!
This solution is neat, thanks for that. I didn't know about getattr
until now.
Regards,
Tiago
On Jan 5, 9:05 pm, bruno desthuilliers
wrote:
> Well, then there's another simple denormalization:
>
> class Question(models.model):
> quest
anks for your opinion, Bruno.. I dug a little more and found a
custom Field that does
JSON serialization: http://www.djangosnippets.org/snippets/377/
Thanks,
Tiago
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
a custom Model Field and maybe reinvent the wheel.
Does anyone have some clue on how to achieve that? Maybe I should
piclke the list, or that would be a overkill?
Thanks in advance,
Tiago
[1]
http://code.google.com/appengine/docs/datastore/typesandpropertyc
53 matches
Mail list logo