-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model path not found #24
Comments
I'm not entirely sure I understand what your problem is. Does your model define |
Yeah you rox ! I am sorry I didn't find anything about this part in the tutorial :( I have added in my Page model:
So now the frameworks works great for : "path" & "model instance" ! I still have trouble for my metadata "view" & "model" part... Do I need to add something in the view or in the urls.py to link the url/view to the model? |
Thanks god (every god ;-) ), no any reference to this in the docs.¿or yes? |
Hi again.
With this, now i have a "fallback" for this Metadatamodel, when used from my "category" template as this:
But now i'm running into another little issue (i'm sure that this is not the rigth way of facing this ...but...is the only way i havefound). i'm trying to "reuse" the same method ("populate_title") for more than one Model. I also have more than one "SeoModel) So..i call the same "populate_from" from both SeoModels. When the method is called i try to determine the class (model_instance) and build a diferente "tag".
Obviosly the last part of the code (after "else") is not working, because the is no "model_instance".
Thanks in advance. |
Hi,
Ok you can forget the 2 previous version of the issue :)
It seems Djgno-seo framework don't find my models path... When I save the fields in the admin the "path" row is blank. But If I fixe the path in the database then it works.
Any idea?
Django version: Django version 1.2.5
Python: Python 2.6.1
Thank you in advance,
Benjamin
The text was updated successfully, but these errors were encountered: