Solved on SO, but an extremely educational response.
I learned about mutable default argument
gotcha
https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument
And Django Modified Preorder Tree Traversal
https://github.com/django-mptt/django-mptt
--
You
I also posted this to SO
https://stackoverflow.com/questions/58600159/search-results-from-a-django-model-method-including-the-results-from-earlier-cal
hope that's ok, let me know if not.
I have a Django Model that tracks email message IDs as the message passes
through different servers. It has
Solved - you do it like this:
class WifiUser(models.Model):
username = models.CharField( max_length=64, unique=True)
--snip--
class RadiusAccounting(models.Model):
radacctid = models.BigIntegerField(primary_key=True,
editable=False)
username = models.CharField(max_length=192)
Thanks in advance for any insight or suggestions.
I have a simple web interface for a freeradius mysql database. It
uses the Django admin interface exclusively, and makes it simple to
manage Radius usernames, passwords, preferences etc, which we use for
authentication on WiFi hotspots.
My
I think proxies are the solution.
I am struggling to wrap my head 'round this concept, but I believe
this will be helpful:
http://lincolnloop.com/blog/2010/dec/16/using-proxy-models-customize-django-admin/
--
You received this message because you are subscribed to the Google Groups
"Django
I put a simple Django site (using only admin so far) in front of a
MySQL DB used as a backend by a freeradius server.
For each radius user, I need to update the 'radcheck' table, which
contains one or more attributes for each user.
+---+--
| Field| Type
On Feb 20, 9:16 pm, ravi krishna wrote:
> Can we use SimpleDB like sqlite or mysql with Django?
Not at this time.
> What are the process involved in doing it ?
Check out this project under development:
http://www.allbuttonspressed.com/projects/django-nonrel
--
You
7 matches
Mail list logo