I am getting a strange error on my humble opinion..
*Why am I getting this error?*
Reverse for 'registo.detail' with arguments '(1,)' and keyword arguments '{}'
not found.
*my views:*
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from django.shortcuts import render_
Hi
Imagine something like:
def Model_A(models.Model):
number = models.IntegerField()
date = models.DateField()
Add an instance of the Model_A
Delete an instance of the Model_A
Add other instance of the Model_A
Delete other instance of the Model_A
Then when I do a query on database I wh
ok I understand that, but I am using the development server.
any other clues?
thanks
Domingo, 21 de Abril de 2013 17:44:46 UTC+1, Rainy escreveu:
>
>
>
> On Sunday, April 21, 2013 11:18:22 AM UTC-4, Carlos Aboim wrote:
>>
>> Hi everyone.
>>
>> Anybody can tell
Hi
tell me, where should live css files for flatpages,
these need a special folder for server to find them as for apps for example?
thank you!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving em
Hi everyone.
Anybody can tell me why I can get css on my flatpage /home/ ?
http://dpaste.com/hold/1066757/ -> this is the html of the page
http://dpaste.com/hold/1067747/ ---> this is the css styles
http://dpaste.com/hold/1066760/ -->settings.py
http://s22.postimg.org/
No answers yet?
Can anyone help me?!
Thank you
Quarta-feira, 25 de Abril de 2012 8:08:24 UTC-3, Carlos Aboim escreveu:
>
> I fellows
> I am getting a strange behavior from a simple generic view
>
> The problem is that I can not pass the data in the form to introducing a
>
I fellows
I am getting a strange behavior from a simple generic view
The problem is that I can not pass the data in the form to introducing a
new object in the database.
Then the urls.py file > http://dpaste.com/hold/732643/
The html form is this > http://dpaste.com/hold/732646/
when
Hi there,
I am getting this error on my code execution:
Request Method: GET
Request URL: http://127.0.0.1:8000/admin
Django Version: 1.3
Exception Type: ImportError
Exception Value:
cannot import name Paginator
Exception Location: /Library/Frameworks/Python.
framework/Versions/2.7/
lib/py
Hi guys,
Is there a reason for my models don't show up in my template?
my urls on app folder:
http://dpaste.com/hold/282583/
my template:
http://dpaste.com/hold/282586/
I can access through shell to models instaces,
Any help whould be apreciated
thank you
Aboim
--
You received this message
old/282239/
template
http://dpaste.com/hold/282242/
Full traceback
http://dpaste.com/hold/282244/
and that's the code, Hope I have not forgotten anything I you could
help me
thank you
Aboim
On Dec 2, 2:50 pm, Tom Evans wrote:
> On Thu, Dec 2, 2010 at 2:42 PM, Carlos Aboim wrote:
> &g
a wrap function on views.py, but I think this is a
simple problem
I just don't get it, can you help me?
thanks
Aboim
On Dec 2, 2:23 pm, Tom Evans wrote:
> On Thu, Dec 2, 2010 at 2:18 PM, Carlos Aboim wrote:
> > Hi guys (and gals),
> > Why I am getting this error?
Hi guys (and gals),
Why I am getting this error?
Caught TypeError while rendering: dict objects are unhashable
I am using a generic view (object_list) to render my template. But I
guess I am not passing all the data correctly.
Could you show me the correct direction?
my urls:
info_dict = {
'
It's very strange, got this:
urls
info_dict = {
'Queryset': Obra.objects.all (),
}
(r'index / $ ',' django.views.generic.list_detail.object_list ',
info_dict, dict (name = "obras_index", template_object_name = 'obras',
paginate_by = 5)),
template
[...]
{% For book in the works%}
obra.num
Guys,
Someone can tell me what is happening with my generic
views?
I have the templates in my application folder 'templates' in the root
my project.
This folder is referenced in settings such as:
TEMPLATE_DIRS = (
os.path.join (PROJECT_ROOT_PATH, 'templates')
)
and I am calling a generic view
14 matches
Mail list logo